mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
fix for possible cause for unwanted foldercreation within esync
This commit is contained in:
parent
2c5f606c35
commit
22464affda
@ -1913,10 +1913,11 @@ class felamimail_bo
|
||||
//error_log(__METHOD__.__LINE__." foldersToCheck:".array2string($foldersToCheck));
|
||||
//error_log(__METHOD__.__LINE__." foldersToCheck:".array2string( $this->mailPreferences->preferences['sentFolder']));
|
||||
foreach($foldersToCheck as $personalFolderName) {
|
||||
$folderName = (!empty($personalPrefix)) ? $folderPrefix.$personalFolderName : $personalFolderName;
|
||||
$folderName = (!empty($personalPrefix) ? $folderPrefix.$personalFolderName : $personalFolderName);
|
||||
//error_log(__METHOD__.__LINE__." foldersToCheck: $personalFolderName / $folderName");
|
||||
if(!is_array($foldersNameSpace['personal']['all']) || !in_array($folderName, $foldersNameSpace['personal']['all'])) {
|
||||
$createfolder = true;
|
||||
switch($folderName)
|
||||
switch($personalFolderName)
|
||||
{
|
||||
case 'Drafts': // => Entwürfe
|
||||
if ($this->mailPreferences->preferences['draftFolder'] && $this->mailPreferences->preferences['draftFolder']=='none')
|
||||
|
Loading…
Reference in New Issue
Block a user