Back to PhocacartCartDb class

Method clearCartDbVariable

public static
clearCartDbVariable
(mixed $userId, mixed $vendorId = 0, mixed $ticketId = 0, mixed $unitId = 0, mixed $sectionId = 0)

Method clearCartDbVariable - Source code

public static function clearCartDbVariable($userId, $vendorId = 0, $ticketId = 0, $unitId = 0, $sectionId = 0)
{
    unset(self::$cart[$userId][$vendorId][$ticketId][$unitId][$sectionId]);
}