From bbc5c05b951626c6fe8c93cc50e961ccde865d99 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 9 Oct 2017 16:59:38 +0200 Subject: [PATCH] quiten permanent error_log when updating alarms --- calendar/inc/class.calendar_boupdate.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index b6d469881a..80b08c5c07 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1318,7 +1318,7 @@ class calendar_boupdate extends calendar_bo { unset($event['alarm'][$id]); $this->so->delete_alarm($id); - error_log(__LINE__.': '.__METHOD__."(".array2string($event).") deleting alarm=".array2string($alarm).", $status=".array2string($alarm)); + //error_log(__LINE__.': '.__METHOD__."(".array2string($event).") deleting alarm=".array2string($alarm).", $status=".array2string($alarm)); } } } @@ -1338,12 +1338,12 @@ class calendar_boupdate extends calendar_bo if (!$alarm['owner'] || isset($status) && calendar_so::split_status($status) !== 'R') { $this->so->save_alarm($event['id'], $alarm); - error_log(__LINE__.': '.__METHOD__."() so->save_alarm($event[id], ".array2string($alarm).")"); + //error_log(__LINE__.': '.__METHOD__."() so->save_alarm($event[id], ".array2string($alarm).")"); } else { $this->so->delete_alarm($id); - error_log(__LINE__.': '.__METHOD__."(".array2string($event).") deleting alarm=".array2string($alarm).", $status=".array2string($alarm)); + //error_log(__LINE__.': '.__METHOD__."(".array2string($event).") deleting alarm=".array2string($alarm).", $status=".array2string($alarm)); } } }