Get instance of rcube (not rcmail)
This commit is contained in:
parent
e16851abaa
commit
b8a71ce2c3
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class libkolab extends rcube_plugin
|
||||||
$include_path = $this->home . '/lib' . PATH_SEPARATOR . ini_get('include_path');
|
$include_path = $this->home . '/lib' . PATH_SEPARATOR . ini_get('include_path');
|
||||||
set_include_path($include_path);
|
set_include_path($include_path);
|
||||||
|
|
||||||
$rcmail = rcmail::get_instance();
|
$rcmail = rcube::get_instance();
|
||||||
try {
|
try {
|
||||||
kolab_format::$timezone = new DateTimeZone($rcmail->config->get('timezone', 'GMT'));
|
kolab_format::$timezone = new DateTimeZone($rcmail->config->get('timezone', 'GMT'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue