mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
silence error_log, for running too often
This commit is contained in:
parent
bf19f45705
commit
79558cf82d
@ -612,8 +612,7 @@ class mail_hooks
|
||||
$currentTime = time();
|
||||
if (!empty($lastRun) && $lastRun>$currentTime-3*60)
|
||||
{
|
||||
|
||||
error_log(__METHOD__.__LINE__." Job should not run too often; we limit this to once every 3 Minutes :". ($currentTime-$lastRun). " Seconds to go!");
|
||||
//error_log(__METHOD__.__LINE__." Job should not run too often; we limit this to once every 3 Minutes :". ($currentTime-$lastRun). " Seconds to go!");
|
||||
return true;
|
||||
}
|
||||
$accountsToSearchObj = emailadmin_account::search($only_current_user=true, $just_name=true);
|
||||
|
Loading…
Reference in New Issue
Block a user