Get instance of rcube (not rcmail)

This commit is contained in:
Thomas Bruederli 2012-06-20 18:41:06 +02:00
parent e16851abaa
commit b8a71ce2c3

View file

@ -41,7 +41,7 @@ class libkolab extends rcube_plugin
$include_path = $this->home . '/lib' . PATH_SEPARATOR . ini_get('include_path');
set_include_path($include_path);
$rcmail = rcmail::get_instance();
$rcmail = rcube::get_instance();
try {
kolab_format::$timezone = new DateTimeZone($rcmail->config->get('timezone', 'GMT'));
}