From 5a6c012b6003687fda3159901a95929957ba0d7b Mon Sep 17 00:00:00 2001 From: djmaze Date: Mon, 31 May 2021 11:02:51 +0200 Subject: [PATCH] Remove the IsSelectable() filter https://github.com/the-djmaze/snappymail/issues/94#issuecomment-850806845 --- .../0.0.0/app/libraries/RainLoop/Actions/Folders.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php index 877650731..718f7f937 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Folders.php @@ -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();