disabling automatic call to asyncservice after each request

This commit is contained in:
Ralf Becker 2009-11-28 08:28:12 +00:00
parent 1a3a131b0d
commit 6549ed94a2

View File

@ -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 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) +++ egroupware/admin/inc/class.uiasyncservice.inc.php (Arbeitskopie)
@@ -96,16 +96,20 @@ @@ -96,16 +96,20 @@
$config->save_repository(); $config->save_repository();