From b6d8da8cb6a1768333562ca273a2d5fb4dd34ba8 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 6 Mar 2011 19:28:49 +0100 Subject: [PATCH] Cleanups. --- admin/db/maintenance_db.inc | 2 +- reporting/reports_main.php | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/admin/db/maintenance_db.inc b/admin/db/maintenance_db.inc index 81fc0abc..700da6d0 100644 --- a/admin/db/maintenance_db.inc +++ b/admin/db/maintenance_db.inc @@ -720,7 +720,7 @@ function save_to_file($backupfile, $zip, $fileData) $c_len = strlen($zdata); // dos time - $timearray = getdate($zip); + $timearray = getdate(); $dostime = (($timearray['year'] - 1980) << 25) | ($timearray['mon'] << 21) | ($timearray['mday'] << 16) | ($timearray['hours'] << 11) | ($timearray['minutes'] << 5) | ($timearray['seconds'] >> 1); $dtime = dechex($dostime); diff --git a/reporting/reports_main.php b/reporting/reports_main.php index 718484a0..4060e956 100644 --- a/reporting/reports_main.php +++ b/reporting/reports_main.php @@ -109,12 +109,6 @@ $reports->addReport(RC_CUSTOMER, 111, _('&Print Sales Quotations'), _('Currency Filter') => 'CURRENCY', _('Email Customers') => 'YES_NO', _('Comments') => 'TEXTBOX')); -$reports->addReport(RC_CUSTOMER, 111, _('&Print Sales Quotations'), - array( _('From') => 'QUOTATIONS', - _('To') => 'QUOTATIONS', - _('Currency Filter') => 'CURRENCY', - _('Email Customers') => 'YES_NO', - _('Comments') => 'TEXTBOX')); $reports->addReport(RC_CUSTOMER, 112, _('Print Receipts'), array( _('From') => 'RECEIPT', _('To') => 'RECEIPT', -- 2.30.2