Initialize class before using self::$config

This commit is contained in:
Thomas Bruederli 2014-11-12 18:53:50 +01:00
parent 4669ca4cc4
commit 284c2a6d0a

View file

@ -262,6 +262,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);