From e95da231419d6cec762ca737af0500526a1c1200 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 10 Jun 2010 07:01:14 +0000 Subject: [PATCH] removing xajax, as we no longer need it (get emulated by our new json stuff) --- phpgwapi/inc/class.egw_framework.inc.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index befbc91589..1ceac0acb4 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -698,24 +698,6 @@ abstract class egw_framework { $java_script .= "\n"; } - 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_API_INC.'/xajax/xajax_core/xajax.inc.php'); - - $xajax = new xajax(); - $xajax->configure('requestURI', egw::link('/xajax.php')); - $xajax->configure('javascript URI',$GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/inc/xajax'); - $xajax->configure('waitCursor',false); - $xajax->register(XAJAX_FUNCTION,'doXMLHTTP'); - $xajax->register(XAJAX_FUNCTION,'doXMLHTTP',array('mode' => "'synchronous'",'alias' => 'doXMLHTTPsync')); - - $java_script .= $xajax->getJavascript(); - } /* this flag is for all javascript code that has to be put before other jscode. Think of conf vars etc... (pim@lingewoud.nl) */