forked from extern/egroupware
xajax check for upcomming notification module
This commit is contained in:
parent
a43348fc54
commit
0144a3aa92
@ -1278,6 +1278,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
if ($GLOBALS['egw']->acl->check('run',1,'notifications') && !$GLOBALS['egw_info']['user']['preferences']['notifications']['disable_ajaxpopup'])
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['include_xajax'] = true;
|
||||
}
|
||||
|
||||
if ($GLOBALS['egw_info']['flags']['include_xajax'])
|
||||
{
|
||||
require_once(EGW_SERVER_ROOT.'/phpgwapi/inc/xajax.inc.php');
|
||||
|
Loading…
Reference in New Issue
Block a user