Browse Source

session_unregister has been deprecated, this solves the issue.

master
Jonathan Rosenbaum 7 years ago
parent
commit
8ab3ccf298
  1. 12
      classes/security_functions.php

12
classes/security_functions.php

@ -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)

Loading…
Cancel
Save