Removed commented deprecated Session_register().
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 28 Oct 2012 06:30:29 +0000 (07:30 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sun, 28 Oct 2012 06:30:29 +0000 (07:30 +0100)
includes/page/header.inc
inventory/adjustments.php
inventory/transfers.php
manufacturing/work_order_issue.php
purchasing/allocations/supplier_allocate.php
sales/allocations/customer_allocate.php

index fc850b953b950172d173c2299d351463d3bd177a..87d0ee870c751ad1ba6045a90ff32a2190e1e5f2 100644 (file)
@@ -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;
index cba646365a9e7e7e91688e09f77f3d31881edb3c..ea6d41ba20479b8336ab50c901cff150b5637869 100644 (file)
@@ -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']))
index 26859e59a19c2b0939ddb698efeec2e98709ee5a..d0db3b0bac03575c52082acab91735a4288e657a 100644 (file)
@@ -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']))
index c7d1cd7cc5d43b15b14f31652f880f078e541d01..071bf3c5856f0b1c865aa3685bec1ff3ca66bcf4 100644 (file)
@@ -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'];
 }
index 82530c762975bdc51e1651e806f0ceab5fd3cc75..a501d0b34a23eb8b0ba248a867df4ac13786659c 100644 (file)
@@ -37,7 +37,6 @@ function clear_allocations()
                unset($_SESSION['alloc']->allocs);
                unset($_SESSION['alloc']);
        }
-       //session_register("alloc");
 }
 //--------------------------------------------------------------------------------
 
index 97ece6a3c4997f6293334fe63e121eac9c447aad..7f7fe7b1b31c030173da3e8a1089e7b5a9c53c19 100644 (file)
@@ -36,7 +36,6 @@ function clear_allocations()
                unset($_SESSION['alloc']->allocs);
                unset($_SESSION['alloc']);
        }
-       //session_register('alloc');
 }
 
 //--------------------------------------------------------------------------------