Check new validity flag
This commit is contained in:
parent
5982ce8732
commit
8dba73549d
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class kolab_calendar extends kolab_storage_folder_api
|
||||||
|
|
||||||
// fetch objects from the given IMAP folder
|
// fetch objects from the given IMAP folder
|
||||||
$this->storage = kolab_storage::get_folder($this->name);
|
$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
|
// Set readonly and alarms flags according to folder permissions
|
||||||
if ($this->ready) {
|
if ($this->ready) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue