mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
silence error log on folderExists when called with empty folder, unless the check is forced
This commit is contained in:
parent
044263bd8c
commit
a6812a39ed
@ -3763,7 +3763,8 @@ class felamimail_bo
|
|||||||
$forceCheck = $_forceCheck;
|
$forceCheck = $_forceCheck;
|
||||||
if (empty($_folder))
|
if (empty($_folder))
|
||||||
{
|
{
|
||||||
error_log(__METHOD__.__LINE__.' Called with empty Folder:'.$_folder.function_backtrace());
|
// this error is more or less without significance, unless we force the check
|
||||||
|
if ($_forceCheck===true) error_log(__METHOD__.__LINE__.' Called with empty Folder:'.$_folder.function_backtrace());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// reduce traffic within the Instance per User; Expire every 5 Minutes
|
// reduce traffic within the Instance per User; Expire every 5 Minutes
|
||||||
|
Loading…
Reference in New Issue
Block a user