Require kolab_folders plugin for listing imap folders by type; fix error message
This commit is contained in:
parent
baf6bcb239
commit
57dad2d92d
2 changed files with 4 additions and 1 deletions
|
@ -277,7 +277,7 @@ class kolab_storage_folder
|
|||
'type' => 'php',
|
||||
'file' => __FILE__,
|
||||
'line' => __LINE__,
|
||||
'message' => "Could not find Kolab data part in message " . $this->name . ':' . $uid,
|
||||
'message' => "Could not find Kolab data part in message $msguid ($this->name).",
|
||||
), true);
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -35,6 +35,9 @@ class libkolab extends rcube_plugin
|
|||
// load local config
|
||||
$this->load_config();
|
||||
|
||||
// require kolab_folders plugin for listing folders by type (annotation)
|
||||
$this->require_plugin('kolab_folders');
|
||||
|
||||
// extend include path to load bundled lib classes
|
||||
$include_path = $this->home . '/lib' . PATH_SEPARATOR . ini_get('include_path');
|
||||
set_include_path($include_path);
|
||||
|
|
Loading…
Add table
Reference in a new issue