From 38fcc8a001a6f799477593879fc71a8067dd9088 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Nov 2009 08:21:49 +0000 Subject: [PATCH] disabling automatic call to asyncservice after each request --- .../class.uiasyncservice.inc.php.patch | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/doc/rpm-build/class.uiasyncservice.inc.php.patch b/doc/rpm-build/class.uiasyncservice.inc.php.patch index f578dd397f..0886263e04 100644 --- a/doc/rpm-build/class.uiasyncservice.inc.php.patch +++ b/doc/rpm-build/class.uiasyncservice.inc.php.patch @@ -1,6 +1,23 @@ +Index: egroupware/phpgwapi/inc/class.egw.inc.php +=================================================================== +--- egroupware/phpgwapi/inc/class.egw.inc.php (Revision 28514) ++++ egroupware/phpgwapi/inc/class.egw.inc.php (Arbeitskopie) +@@ -490,10 +490,12 @@ + } + // call the asyncservice check_run function if it is not explicitly set to cron-only + // ++/* not needed as rpm uses /etc/cron.d/egroupware + if (!$GLOBALS['egw_info']['server']['asyncservice']) // is default + { + ExecMethod('phpgwapi.asyncservice.check_run','fallback'); + } ++*/ + $this->db->disconnect(); + } + } Index: egroupware/admin/inc/class.uiasyncservice.inc.php =================================================================== ---- egroupware/admin/inc/class.uiasyncservice.inc.php (Revision 27137) +--- egroupware/admin/inc/class.uiasyncservice.inc.php (Revision 28512) +++ egroupware/admin/inc/class.uiasyncservice.inc.php (Arbeitskopie) @@ -96,16 +96,20 @@ $config->save_repository();