Initialize class before using self::$config

This commit is contained in:
Thomas Bruederli 2014-11-12 18:53:50 +01:00
parent 998b25171d
commit 1976658f3e

View file

@ -249,6 +249,8 @@ class kolab_storage
*/
public static function get_freebusy_server()
{
self::setup();
$url = 'https://' . $_SESSION['imap_host'] . '/freebusy';
$url = self::$config->get('kolab_freebusy_server', $url);
$url = rcube_utils::resolve_url($url);