Remove the IsSelectable() filter

https://github.com/the-djmaze/snappymail/issues/94#issuecomment-850806845
This commit is contained in:
djmaze 2021-05-31 11:02:51 +02:00
parent 250f7152ac
commit 5a6c012b60

View file

@ -30,17 +30,6 @@ trait Folders
{
$this->Plugins()->RunHook('filter.folders-post', array($oAccount, $oFolderCollection));
/*
// https://github.com/the-djmaze/snappymail/issues/94#issuecomment-850806845
$aFolders = $oFolderCollection->getArrayCopy();
foreach ($aFolders as $i => $oFolder) {
if (!$oFolder->IsSelectable()) {
unset($aFolders[$i]);
}
}
$oFolderCollection->exchangeArray(\array_values($aFolders));
*/
$oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);
$aSystemFolders = array();