From 5402b1171c7401c67682a7fbdbb85e861986fed8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 18 Oct 2018 14:32:25 +0200 Subject: [PATCH] fix / readjust patch --- doc/rpm-build/asyncservice.patch | 38 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/rpm-build/asyncservice.patch b/doc/rpm-build/asyncservice.patch index be185ae807..5d7ce3f7dc 100644 --- a/doc/rpm-build/asyncservice.patch +++ b/doc/rpm-build/asyncservice.patch @@ -1,8 +1,8 @@ diff --git egroupware/admin/inc/class.admin_asyncservice.inc.php egroupware/admin/inc/class.admin_asyncservice.inc.php -index cb19e5fbbf..2e58ce3fdf 100644 +index df66f9c39e..38f9c35818 100644 --- egroupware/admin/inc/class.admin_asyncservice.inc.php +++ egroupware/admin/inc/class.admin_asyncservice.inc.php -@@ -97,16 +97,20 @@ class admin_asyncservice +@@ -98,16 +98,20 @@ class admin_asyncservice { Api\Config::save_value('asyncservice', $GLOBALS['egw_info']['server']['asyncservice']=$_POST['asyncservice'], 'phpgwapi'); } @@ -20,32 +20,32 @@ index cb19e5fbbf..2e58ce3fdf 100644 $async_use[''] = lang('fallback (after each pageview)'); $async_use['off'] = lang('disabled (not recomended)'); +*/ - echo '

'.lang('Run Asynchronous services').''. + echo '

'.htmlspecialchars(lang('Run Asynchronous services')).''. ' \n"; +- +/* - if (is_array($installed) && isset($installed['cronline'])) - { - echo "$installed[cronline]

"; -@@ -144,6 +149,7 @@ class admin_asyncservice - } - echo '

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

\n"; -+*/ + if (is_array($installed) && isset($installed['cronline'])) + { + echo '   \n"; +@@ -146,6 +150,8 @@ class admin_asyncservice + echo '

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

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

'.htmlspecialchars(lang('Installed crontab')).": /etc/cron.d/egroupware.cron\n"; echo "


\n"; -diff --git a/api/src/Egw.php b/api/src/Egw.php + foreach ($units as $u => $ulabel) +diff --git egroupware/api/src/Egw.php egroupware/api/src/Egw.php +index 5c52f126f2..5360039799 100644 --- egroupware/api/src/Egw.php +++ egroupware/api/src/Egw.php -@@ -608,12 +608,14 @@ class Egw extends Egw\Base +@@ -617,12 +617,14 @@ class Egw extends Egw\Base _egw_log_exception($ex); } }