Commit 2e35d07c authored by skummer's avatar skummer

ZP-448 #comment added check to see if IMAP_EXCLUDE_FOLDERS have a value #time 15m

git-svn-id: https://z-push.org/svn/z-push/trunk@1726 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 3d205b7e
......@@ -89,7 +89,7 @@ class BackendIMAP extends BackendDiff {
/* BEGIN fmbiete's contribution r1527, ZP-319 */
$this->excludedFolders = array();
if (defined('IMAP_EXCLUDED_FOLDERS')) {
if (defined('IMAP_EXCLUDED_FOLDERS') && strlen(IMAP_EXCLUDED_FOLDERS) > 0) {
$this->excludedFolders = explode("|", IMAP_EXCLUDED_FOLDERS);
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->Logon(): Excluding Folders (%s)", IMAP_EXCLUDED_FOLDERS));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment