revert accicently commited async service patch for packages

This commit is contained in:
Ralf Becker 2015-07-19 10:27:12 +00:00
parent a93474ef2b
commit 015c19dd01

View File

@ -95,20 +95,16 @@ class uiasyncservice
{
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 '<p><b>'.lang('Run Asynchronous services').'</b>'.
' <select name="asyncservice" onChange="this.form.submit();">';
foreach ($async_use as $key => $label)
@ -130,9 +126,8 @@ class uiasyncservice
}
else
{
echo '<p>'.lang('Installed crontab').": /etc/cron.d/egroupware\n";
echo '<p>'.lang('Installed crontab').": \n";
/*
if (is_array($installed) && isset($installed['cronline']))
{
echo "$installed[cronline]</p>";
@ -147,7 +142,6 @@ class uiasyncservice
}
echo '<p><input type="submit" name="install" value="'.lang('Install crontab')."\">\n".
lang("for the times below (empty values count as '*', all empty = every minute)")."</p>\n";
*/
}
echo "<hr><table border=0><tr>\n";