summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-03 12:16:24 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-03 12:16:24 (GMT)
commit8dba73549d4dc4afbebb5abf229e112382e3a5b2 (patch)
tree76f28fbb164b1326cf87ea2e39701d8283405fa0 /plugins
parent5982ce8732a295d3050a09d1ca4c824184079b44 (diff)
downloadroundcubemail-plugins-kolab-8dba73549d4dc4afbebb5abf229e112382e3a5b2.tar.gz
Check new validity flag
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_calendar.php b/plugins/calendar/drivers/kolab/kolab_calendar.php
index d10126a..9e3ecdf 100644
--- a/plugins/calendar/drivers/kolab/kolab_calendar.php
+++ b/plugins/calendar/drivers/kolab/kolab_calendar.php
@@ -76,7 +76,7 @@ class kolab_calendar extends kolab_storage_folder_api
// fetch objects from the given IMAP folder
$this->storage = kolab_storage::get_folder($this->name);
- $this->ready = $this->storage && !PEAR::isError($this->storage) && $this->storage->type !== null;
+ $this->ready = $this->storage && $this->storage->valid;
// Set readonly and alarms flags according to folder permissions
if ($this->ready) {