Changeset View
Changeset View
Standalone View
Standalone View
plugins/libkolab/lib/kolab_storage.php
Show First 20 Lines • Show All 938 Lines • ▼ Show 20 Lines | protected static function _imap_list_folders($root, $mbox) | ||||
return $folders; | return $folders; | ||||
} | } | ||||
/** | /** | ||||
* Wrapper for rcube_imap::list_folders_subscribed() | * Wrapper for rcube_imap::list_folders_subscribed() | ||||
* with support for temporarily subscribed folders | * with support for temporarily subscribed folders | ||||
*/ | */ | ||||
protected static function _imap_list_subscribed($root, $mbox) | protected static function _imap_list_subscribed($root, $mbox, $filter = null) | ||||
{ | { | ||||
$folders = self::$imap->list_folders_subscribed($root, $mbox); | $folders = self::$imap->list_folders_subscribed($root, $mbox); | ||||
// add temporarily subscribed folders | // add temporarily subscribed folders | ||||
if (self::$with_tempsubs && is_array($_SESSION['kolab_subscribed_folders'])) { | if (self::$with_tempsubs && is_array($_SESSION['kolab_subscribed_folders'])) { | ||||
$folders = array_unique(array_merge($folders, $_SESSION['kolab_subscribed_folders'])); | $folders = array_unique(array_merge($folders, $_SESSION['kolab_subscribed_folders'])); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 840 Lines • Show Last 20 Lines |