|
@@ 3780-3796 (lines=17) @@
|
| 3777 |
|
$this->mail_bo->reopen($newFolderName); |
| 3778 |
|
$fS = $this->mail_bo->getFolderStatus($newFolderName,false); |
| 3779 |
|
//error_log(__METHOD__.__LINE__.array2string($fS)); |
| 3780 |
|
if ($hasChildren) |
| 3781 |
|
{ |
| 3782 |
|
$subFolders = $this->mail_bo->getMailBoxesRecursive($newFolderName, $delimiter, $prefix); |
| 3783 |
|
foreach ($subFolders as $k => $folder) |
| 3784 |
|
{ |
| 3785 |
|
// we do not monitor failure or success on subfolders |
| 3786 |
|
if ($folder == $folderName) |
| 3787 |
|
{ |
| 3788 |
|
unset($subFolders[$k]); |
| 3789 |
|
} |
| 3790 |
|
else |
| 3791 |
|
{ |
| 3792 |
|
$rv = $this->mail_bo->icServer->subscribeMailbox($folder, true); |
| 3793 |
|
} |
| 3794 |
|
} |
| 3795 |
|
//error_log(__METHOD__.__LINE__.' Fetched Subfolders->'.array2string($subFolders)); |
| 3796 |
|
} |
| 3797 |
|
|
| 3798 |
|
$oA[$_folderName]['id'] = $profileID.self::$delimiter.$newFolderName; |
| 3799 |
|
$oA[$_folderName]['olddesc'] = $oldFolderInfo['shortDisplayName']; |
|
@@ 4014-4030 (lines=17) @@
|
| 4011 |
|
$this->mail_bo->reopen($parentFolder); |
| 4012 |
|
$this->mail_bo->getFolderStatus($parentFolder,false,false,false); |
| 4013 |
|
//error_log(__METHOD__.__LINE__.array2string($fS)); |
| 4014 |
|
if ($hasChildren) |
| 4015 |
|
{ |
| 4016 |
|
$subFolders = $this->mail_bo->getMailBoxesRecursive($parentFolder, $delimiter, $prefix); |
| 4017 |
|
foreach ($subFolders as $k => $folder) |
| 4018 |
|
{ |
| 4019 |
|
// we do not monitor failure or success on subfolders |
| 4020 |
|
if ($folder == $folderName) |
| 4021 |
|
{ |
| 4022 |
|
unset($subFolders[$k]); |
| 4023 |
|
} |
| 4024 |
|
else |
| 4025 |
|
{ |
| 4026 |
|
$rv = $this->mail_bo->icServer->subscribeMailbox($folder, true); |
| 4027 |
|
} |
| 4028 |
|
} |
| 4029 |
|
//error_log(__METHOD__.__LINE__.' Fetched Subfolders->'.array2string($subFolders)); |
| 4030 |
|
} |
| 4031 |
|
} |
| 4032 |
|
} |
| 4033 |
|
if ($folderName==$this->mail_bo->sessionData['mailbox']) |