Initialize class before using self::$config
This commit is contained in:
parent
4669ca4cc4
commit
284c2a6d0a
1 changed files with 2 additions and 0 deletions
|
@ -262,6 +262,8 @@ class kolab_storage
|
||||||
*/
|
*/
|
||||||
public static function get_freebusy_server()
|
public static function get_freebusy_server()
|
||||||
{
|
{
|
||||||
|
self::setup();
|
||||||
|
|
||||||
$url = 'https://' . $_SESSION['imap_host'] . '/freebusy';
|
$url = 'https://' . $_SESSION['imap_host'] . '/freebusy';
|
||||||
$url = self::$config->get('kolab_freebusy_server', $url);
|
$url = self::$config->get('kolab_freebusy_server', $url);
|
||||||
$url = rcube_utils::resolve_url($url);
|
$url = rcube_utils::resolve_url($url);
|
||||||
|
|
Loading…
Add table
Reference in a new issue