silence error_log from calendar_bo triggered by statMessage

This commit is contained in:
Klaus Leithoff 2011-12-23 11:24:29 +00:00
parent a07cc48066
commit eb6aa373e3

View File

@ -1201,7 +1201,7 @@ return array(); // temporary disabling meeting requests from calendar
$stat = false; $stat = false;
// error_log why access is denied (should never happen for everything returned by calendar_bo::search) // error_log why access is denied (should never happen for everything returned by calendar_bo::search)
$backup = $this->calendar->debug; $backup = $this->calendar->debug;
$this->calendar->debug = 2; //$this->calendar->debug = 2;
list($id) = explode(':',$id); list($id) = explode(':',$id);
$this->calendar->check_perms(EGW_ACL_FREEBUSY, $id, 0, 'server'); $this->calendar->check_perms(EGW_ACL_FREEBUSY, $id, 0, 'server');
$this->calendar->debug = $backup; $this->calendar->debug = $backup;