|
@ -126,11 +126,13 @@ class security_functions |
|
|
|
|
|
|
|
|
function closeSale() |
|
|
function closeSale() |
|
|
{ |
|
|
{ |
|
|
//deletes sessions vars |
|
|
|
|
|
session_unregister('items_in_sale'); |
|
|
//deletes sessions vars |
|
|
session_unregister('current_sale_customer_id'); |
|
|
unset($_SESSION['items_in_sale']); |
|
|
session_unregister('current_item_search'); |
|
|
unset($_SESSION['current_sale_customer_id']); |
|
|
session_unregister('current_customer_search'); |
|
|
unset($_SESSION['current_sale_customer_id']); |
|
|
|
|
|
unset($_SESSION['current_customer_search']); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function checkMembership($userID) |
|
|
function checkMembership($userID) |
|
|