forked from extern/egroupware
setting the freebusy_uri only if not in setup!
This commit is contained in:
parent
5b9d33ac44
commit
671f175090
@ -321,7 +321,7 @@ class bocontacts extends socontacts
|
||||
$data['photo'] = $this->photo_src($data['id'],$data['jpegphoto']);
|
||||
|
||||
// set freebusy_uri for accounts
|
||||
if (!$data['freebusy_uri'] && !$data['owner'] && $data['account_id'])
|
||||
if (!$data['freebusy_uri'] && !$data['owner'] && $data['account_id'] && !is_object($GLOBALS['egw_setup']))
|
||||
{
|
||||
static $fb_url;
|
||||
if (!$fb_url && @is_dir(EGW_SERVER_ROOT.'/calendar/inc')) $fb_url = ExecMethod('calendar.bocal.freebusy_url','');
|
||||
|
Loading…
Reference in New Issue
Block a user