mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
revert accicently commited async service patch for packages
This commit is contained in:
parent
a93474ef2b
commit
015c19dd01
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user