mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
bind some errorlog debug output to mail_bo:: variable
This commit is contained in:
parent
0406395e4c
commit
736eb6a329
@ -988,7 +988,7 @@ class mail_ui
|
||||
if (!is_array($insert) || !isset($insert['item']))
|
||||
{
|
||||
// throwing an exeption here seems to be unrecoverable, even if the cause is a something that can be handeled by the mailserver
|
||||
error_log(__METHOD__.':'.__LINE__." id=$data[id]: Parent '$parent' of '$component' not found!");
|
||||
if (mail_bo::$debug) error_log(__METHOD__.':'.__LINE__." id=$data[id]: Parent '$parent' of '$component' not found!");
|
||||
break;
|
||||
}
|
||||
foreach($insert['item'] as &$item)
|
||||
@ -3605,7 +3605,7 @@ class mail_ui
|
||||
*/
|
||||
function ajax_renameFolder($_folderName, $_newName)
|
||||
{
|
||||
//error_log(__METHOD__.__LINE__.' OldFolderName:'.array2string($_folderName).' NewName:'.array2string($_newName));
|
||||
if (mail_bo::$debug) error_log(__METHOD__.__LINE__.' OldFolderName:'.array2string($_folderName).' NewName:'.array2string($_newName));
|
||||
if ($_folderName)
|
||||
{
|
||||
translation::add_app('mail');
|
||||
@ -3802,7 +3802,7 @@ class mail_ui
|
||||
*/
|
||||
function ajax_MoveFolder($_folderName, $_target)
|
||||
{
|
||||
//error_log(__METHOD__.__LINE__."Move Folder: $_folderName to Target: $_target");
|
||||
if (mail_bo::$debug) error_log(__METHOD__.__LINE__."Move Folder: $_folderName to Target: $_target");
|
||||
if ($_folderName)
|
||||
{
|
||||
$decodedFolderName = $this->mail_bo->decodeEntityFolderName($_folderName);
|
||||
|
Loading…
Reference in New Issue
Block a user