unsubsubcribe from oldFoldername when renaming/moving a folder

This commit is contained in:
Klaus Leithoff 2012-07-30 13:19:34 +00:00
parent a80f2102c6
commit 9347e58493

View File

@ -965,6 +965,7 @@ class ajaxfelamimail
if($newFolderName = $this->bofelamimail->renameFolder($oldFolderName, $parentFolder, $folderName)) {
//enforce the subscription to the newly named server, as it seems to fail for names with umlauts
$rv = $this->bofelamimail->subscribe($newFolderName, true);
$rv = $this->bofelamimail->subscribe($oldFolderName, false);
$newFolderName = $this->_encodeFolderName($newFolderName);
$folderName = $this->_encodeDisplayFolderName($folderName);
if ($parentFolder == '') {