diff --git a/doc/rpm-build/class.uiasyncservice.inc.php.patch b/doc/rpm-build/class.uiasyncservice.inc.php.patch index b55cdfa48e..f578dd397f 100644 --- a/doc/rpm-build/class.uiasyncservice.inc.php.patch +++ b/doc/rpm-build/class.uiasyncservice.inc.php.patch @@ -1,52 +1,44 @@ ---- egroupware.orig/admin/inc/class.uiasyncservice.inc.php 2005-10-14 19:03:16.000000000 +0200 -+++ egroupware/admin/inc/class.uiasyncservice.inc.php 2006-03-09 21:37:20.000000000 +0100 -@@ -106,7 +106,7 @@ - - $last_run = $async->last_check_run(); - $lr_date = $last_run['end'] ? $GLOBALS['egw']->common->show_date($last_run['end']) : lang('never'); -- echo '

'.lang('Async services last executed').': '.$lr_date.' ('.$last_run['run_by'].")

\n
\n"; -+ echo '

'. lang('Async services last executed'). ': '. $lr_date. ' ('. $last_run['run_by']. ")

\n
\n"; - - if (isset($_POST['asyncservice']) && $_POST['asyncservice'] != $GLOBALS['egw_info']['server']['asyncservice']) +Index: egroupware/admin/inc/class.uiasyncservice.inc.php +=================================================================== +--- egroupware/admin/inc/class.uiasyncservice.inc.php (Revision 27137) ++++ egroupware/admin/inc/class.uiasyncservice.inc.php (Arbeitskopie) +@@ -96,16 +96,20 @@ + $config->save_repository(); + unset($config); + } ++/* + if (!$async->only_fallback) + { + $installed = $async->installed(); + if (is_array($installed) && isset($installed['cronline'])) { -@@ -116,16 +116,17 @@ - $config->save_repository(); - unset($config); ++*/ + $async_use['cron'] = lang('crontab only (recomended)'); ++/* } -- if (!$async->only_fallback) -+ -+ /*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)'); -+ $async_use['off'] = lang('disabled (not recomended)'); */ - echo '

'.lang('Run Asynchronous services').''. - ' '; + foreach ($async_use as $key => $label) +@@ -127,8 +131,9 @@ + } + else + { +- echo '

'.lang('Installed crontab').": \n"; ++ echo '

'.lang('Installed crontab').": /etc/cron.d/egroupware\n"; -+ /* - if (is_array($installed) && isset($installed['cronline'])) - { - echo "$installed[cronline]

"; -@@ -161,6 +163,7 @@ - { - echo ''.lang('asyncservices not yet installed or other error (%1) !!!',$installed['error'])."

\n"; - } -+ */ - echo '

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

\n"; ++/* + if (is_array($installed) && isset($installed['cronline'])) + { + echo "$installed[cronline]

"; +@@ -143,6 +148,7 @@ } + echo '

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

\n"; ++*/ + } + + echo "
\n";