Implemented customizable authentication timeout.
[fa-stable.git] / purchasing / supplier_payment.php
index 5928e56b7327de10d9925768a649650234c062ee..a2603dfb113c43b1710bec4e80384b66fe7b1bee 100644 (file)
@@ -42,15 +42,6 @@ check_db_has_suppliers(_("There are no suppliers defined in the system."));
 check_db_has_bank_accounts(_("There are no bank accounts defined in the system."));
 
 //----------------------------------------------------------------------------------------
-if ($ret = context_restore()) {
-       if(isset($ret['supplier_id']))
-               $_POST['supplier_id'] = $ret['supplier_id'];
-}
-if (isset($_POST['_supplier_id_editor'])) {
-       context_call($path_to_root.'/purchasing/manage/suppliers.php?supplier_id='.$_POST['supplier_id'], 
-               array( 'supplier_id', 'bank_account', 'DatePaid', 'ref', 'amount', 
-                       'discount', 'memo_') );
-}
 
 if (!isset($_POST['supplier_id']))
        $_POST['supplier_id'] = get_global_supplier(false);