|
@@ 3895-3911 (lines=17) @@
|
| 3892 |
|
$this->mail_bo->reopen($newFolderName); |
| 3893 |
|
$fS = $this->mail_bo->getFolderStatus($newFolderName,false); |
| 3894 |
|
//error_log(__METHOD__.__LINE__.array2string($fS)); |
| 3895 |
|
if ($hasChildren) |
| 3896 |
|
{ |
| 3897 |
|
$subFolders = $this->mail_bo->getMailBoxesRecursive($newFolderName, $delimiter, $prefix); |
| 3898 |
|
foreach ($subFolders as $k => $folder) |
| 3899 |
|
{ |
| 3900 |
|
// we do not monitor failure or success on subfolders |
| 3901 |
|
if ($folder == $folderName) |
| 3902 |
|
{ |
| 3903 |
|
unset($subFolders[$k]); |
| 3904 |
|
} |
| 3905 |
|
else |
| 3906 |
|
{ |
| 3907 |
|
$rv = $this->mail_bo->icServer->subscribeMailbox($folder, true); |
| 3908 |
|
} |
| 3909 |
|
} |
| 3910 |
|
//error_log(__METHOD__.__LINE__.' Fetched Subfolders->'.array2string($subFolders)); |
| 3911 |
|
} |
| 3912 |
|
|
| 3913 |
|
$oA[$_folderName]['id'] = $profileID.self::$delimiter.$newFolderName; |
| 3914 |
|
$oA[$_folderName]['olddesc'] = $oldFolderInfo['shortDisplayName']; |
|
@@ 4125-4141 (lines=17) @@
|
| 4122 |
|
$this->mail_bo->reopen($parentFolder); |
| 4123 |
|
$this->mail_bo->getFolderStatus($parentFolder,false,false,false); |
| 4124 |
|
//error_log(__METHOD__.__LINE__.array2string($fS)); |
| 4125 |
|
if ($hasChildren) |
| 4126 |
|
{ |
| 4127 |
|
$subFolders = $this->mail_bo->getMailBoxesRecursive($parentFolder, $delimiter, $prefix); |
| 4128 |
|
foreach ($subFolders as $k => $folder) |
| 4129 |
|
{ |
| 4130 |
|
// we do not monitor failure or success on subfolders |
| 4131 |
|
if ($folder == $folderName) |
| 4132 |
|
{ |
| 4133 |
|
unset($subFolders[$k]); |
| 4134 |
|
} |
| 4135 |
|
else |
| 4136 |
|
{ |
| 4137 |
|
$rv = $this->mail_bo->icServer->subscribeMailbox($folder, true); |
| 4138 |
|
} |
| 4139 |
|
} |
| 4140 |
|
//error_log(__METHOD__.__LINE__.' Fetched Subfolders->'.array2string($subFolders)); |
| 4141 |
|
} |
| 4142 |
|
} |
| 4143 |
|
} |
| 4144 |
|
if ($folderName==$this->mail_bo->sessionData['mailbox']) |