From 90c361b9602cfe4fd9640dc853deef04a3fd23ed Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 20 Oct 2008 19:43:26 +0000 Subject: [PATCH] "commented error_log statements" --- timesheet/inc/class.timesheet_bo.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timesheet/inc/class.timesheet_bo.inc.php b/timesheet/inc/class.timesheet_bo.inc.php index 42247ba41a..f007cb7229 100644 --- a/timesheet/inc/class.timesheet_bo.inc.php +++ b/timesheet/inc/class.timesheet_bo.inc.php @@ -275,7 +275,7 @@ class timesheet_bo extends so_sql */ function &search($criteria,$only_keys=True,$order_by='',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter=null,$join='',$need_full_no_count=false,$only_summary=false) { - error_log(__METHOD__."(".print_r($criteria,true).",'$only_keys','$order_by',".print_r($extra_cols,true).",'$wildcard','$empty','$op','$start',".print_r($filter,true).",'$join')"); + //error_log(__METHOD__."(".print_r($criteria,true).",'$only_keys','$order_by',".print_r($extra_cols,true).",'$wildcard','$empty','$op','$start',".print_r($filter,true).",'$join')"); //echo "

".__METHOD__."(".print_r($criteria,true).",'$only_keys','$order_by',".print_r($extra_cols,true).",'$wildcard','$empty','$op','$start',".print_r($filter,true).",'$join')

\n"; // postgres can't round from double precission, only from numeric ;-) $total_sql = $this->db->Type != 'pgsql' ? "round(ts_quantity*ts_unitprice,2)" : "round(cast(ts_quantity*ts_unitprice AS numeric),2)"; @@ -364,7 +364,7 @@ class timesheet_bo extends so_sql */ function read($ts_id,$ignore_acl=false,$read_cfs=true) { - error_log(__METHOD__."($ts_id,$ignore_acl) ".function_backtrace()); + //error_log(__METHOD__."($ts_id,$ignore_acl) ".function_backtrace()); if (!(int)$ts_id || (int)$ts_id != $this->data['ts_id'] && !parent::read($ts_id)) { return null; // entry not found @@ -389,7 +389,7 @@ class timesheet_bo extends so_sql */ function read_cfs($ts_ids,$names=null) { - error_log(__METHOD__."(".array2string($ts_ids).",".array2string($names).")"); + //error_log(__METHOD__."(".array2string($ts_ids).",".array2string($names).")"); if (!$this->customfields || !$ts_ids) { return array();