mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-06 14:58:19 +08:00
Remove the IsSelectable() filter
https://github.com/the-djmaze/snappymail/issues/94#issuecomment-850806845
This commit is contained in:
parent
250f7152ac
commit
5a6c012b60
1 changed files with 0 additions and 11 deletions
|
@ -30,17 +30,6 @@ trait Folders
|
||||||
{
|
{
|
||||||
$this->Plugins()->RunHook('filter.folders-post', array($oAccount, $oFolderCollection));
|
$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);
|
$oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);
|
||||||
|
|
||||||
$aSystemFolders = array();
|
$aSystemFolders = array();
|
||||||
|
|
Loading…
Reference in a new issue