diff --git egroupware/admin/inc/class.admin_asyncservice.inc.php egroupware/admin/inc/class.admin_asyncservice.inc.php index 88d9388..52cf515 100644 --- egroupware/admin/inc/class.admin_asyncservice.inc.php +++ egroupware/admin/inc/class.admin_asyncservice.inc.php @@ -97,16 +97,20 @@ class admin_asyncservice { Api\Config::save_value('asyncservice', $GLOBALS['egw_info']['server']['asyncservice']=$_POST['asyncservice'], 'phpgwapi'); } +/* if (!$async->only_fallback) { $installed = $async->installed(); if (is_array($installed) && isset($installed['cronline'])) { +*/ $async_use['cron'] = lang('crontab only (recomended)'); +/* } } $async_use[''] = lang('fallback (after each pageview)'); $async_use['off'] = lang('disabled (not recomended)'); +*/ echo '

'.lang('Run Asynchronous services').''. ' \n". lang("for the times below (empty values count as '*', all empty = every minute)")."

\n"; +*/ } echo "
\n"; diff --git egroupware/api/src/Egw.php egroupware/api/src/Egw.php index f324f5e..1e52db0 100644 --- egroupware/api/src/Egw.php +++ egroupware/api/src/Egw.php @@ -592,12 +592,14 @@ class Egw extends Egw\Base _egw_log_exception($ex); } } +/* not needed as rpm uses /etc/cron.d/egroupware // call the asyncservice check_run function if it is not explicitly set to cron-only if (!$GLOBALS['egw_info']['server']['asyncservice']) // is default { $async = new Asyncservice(); $async->check_run('fallback'); } +*/ $this->db->disconnect(); } }