From: Joe Hunt Date: Sun, 28 Oct 2012 06:30:29 +0000 (+0100) Subject: Removed commented deprecated Session_register(). X-Git-Tag: 2.3-final~395 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=0b63296be54ca46f2f4569eceeec350cb243e743;p=fa-stable.git Removed commented deprecated Session_register(). --- diff --git a/includes/page/header.inc b/includes/page/header.inc index fc850b95..87d0ee87 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 cba64636..ea6d41ba 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 26859e59..d0db3b0b 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 c7d1cd7c..071bf3c5 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 82530c76..a501d0b3 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 97ece6a3..7f7fe7b1 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'); } //--------------------------------------------------------------------------------