From 6549ed94a2a16c673b172d00280f326cbc242fc9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Nov 2009 08:28:12 +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..4dcb2d6ee1 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 28479) ++++ egroupware/phpgwapi/inc/class.egw.inc.php (Arbeitskopie) +@@ -468,10 +468,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 28479) +++ egroupware/admin/inc/class.uiasyncservice.inc.php (Arbeitskopie) @@ -96,16 +96,20 @@ $config->save_repository();