mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
quiten permanent error_log when updating alarms
This commit is contained in:
parent
d78d3834c0
commit
bbc5c05b95
@ -1318,7 +1318,7 @@ class calendar_boupdate extends calendar_bo
|
|||||||
{
|
{
|
||||||
unset($event['alarm'][$id]);
|
unset($event['alarm'][$id]);
|
||||||
$this->so->delete_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')
|
if (!$alarm['owner'] || isset($status) && calendar_so::split_status($status) !== 'R')
|
||||||
{
|
{
|
||||||
$this->so->save_alarm($event['id'], $alarm);
|
$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
|
else
|
||||||
{
|
{
|
||||||
$this->so->delete_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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user