Fix PHP Fatal error: Uncaught Error: Class "libkolab" not found
This commit is contained in:
parent
106931e76c
commit
9dda9d113b
1 changed files with 3 additions and 3 deletions
|
@ -36,6 +36,9 @@ class kolab_files extends rcube_plugin
|
|||
{
|
||||
$this->rc = rcube::get_instance();
|
||||
|
||||
// we use libkolab::http_request() from libkolab with its configuration
|
||||
$this->require_plugin('libkolab');
|
||||
|
||||
if (isset($this->rc->oauth)) {
|
||||
$this->rc->oauth->is_token_valid();
|
||||
|
||||
|
@ -67,9 +70,6 @@ class kolab_files extends rcube_plugin
|
|||
$this->register_action('reset', [$this, 'actions']);
|
||||
$this->register_action('autocomplete', [$this, 'autocomplete']);
|
||||
|
||||
// we use libkolab::http_request() from libkolab with its configuration
|
||||
$this->require_plugin('libkolab');
|
||||
|
||||
// Load UI from startup hook
|
||||
$this->add_hook('startup', [$this, 'startup']);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue