From: Joe Hunt Date: Sun, 28 Oct 2012 06:30:29 +0000 (+0100) Subject: Removed commented deprecated Session_register(). X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=775809a4eee457cd229a194131e4d00091a64f8e;p=textcart.git Removed commented deprecated Session_register(). --- diff --git a/includes/page/header.inc b/includes/page/header.inc index fc850b9..87d0ee8 100644 --- a/includes/page/header.inc +++ b/includes/page/header.inc @@ -99,8 +99,6 @@ function page_header($title, $no_menu=false, $is_index=false, $onload="", $js="" { $no_menu = false; } - //if (!isset($_SESSION["sel_app"])) - // session_register("sel_app"); if (isset($_SESSION["App"]) && is_object($_SESSION["App"]) && isset($_SESSION["App"]->selected_application) && $_SESSION["App"]->selected_application != "") $sel_app = $_SESSION["App"]->selected_application; diff --git a/inventory/adjustments.php b/inventory/adjustments.php index cba6463..ea6d41b 100644 --- a/inventory/adjustments.php +++ b/inventory/adjustments.php @@ -69,8 +69,6 @@ function handle_new_order() unset ($_SESSION['adj_items']); } - //session_register("adj_items"); - $_SESSION['adj_items'] = new items_cart(ST_INVADJUST); $_POST['AdjDate'] = new_doc_date(); if (!is_date_in_fiscalyear($_POST['AdjDate'])) diff --git a/inventory/transfers.php b/inventory/transfers.php index 26859e5..d0db3b0 100644 --- a/inventory/transfers.php +++ b/inventory/transfers.php @@ -65,8 +65,6 @@ function handle_new_order() unset ($_SESSION['transfer_items']); } - //session_register("transfer_items"); - $_SESSION['transfer_items'] = new items_cart(ST_LOCTRANSFER); $_POST['AdjDate'] = new_doc_date(); if (!is_date_in_fiscalyear($_POST['AdjDate'])) diff --git a/manufacturing/work_order_issue.php b/manufacturing/work_order_issue.php index c7d1cd7..071bf3c 100644 --- a/manufacturing/work_order_issue.php +++ b/manufacturing/work_order_issue.php @@ -62,8 +62,6 @@ function handle_new_order() unset ($_SESSION['issue_items']); } - Session_register("issue_items"); - $_SESSION['issue_items'] = new items_cart(ST_MANUISSUE); $_SESSION['issue_items']->order_id = $_GET['trans_no']; } diff --git a/purchasing/allocations/supplier_allocate.php b/purchasing/allocations/supplier_allocate.php index 82530c7..a501d0b 100644 --- a/purchasing/allocations/supplier_allocate.php +++ b/purchasing/allocations/supplier_allocate.php @@ -37,7 +37,6 @@ function clear_allocations() unset($_SESSION['alloc']->allocs); unset($_SESSION['alloc']); } - //session_register("alloc"); } //-------------------------------------------------------------------------------- diff --git a/sales/allocations/customer_allocate.php b/sales/allocations/customer_allocate.php index 97ece6a..7f7fe7b 100644 --- a/sales/allocations/customer_allocate.php +++ b/sales/allocations/customer_allocate.php @@ -36,7 +36,6 @@ function clear_allocations() unset($_SESSION['alloc']->allocs); unset($_SESSION['alloc']); } - //session_register('alloc'); } //--------------------------------------------------------------------------------