From: Jeroen De Meerleer Date: Wed, 18 Jul 2018 20:24:35 +0000 (+0200) Subject: Prettified the parameter layout of workerqueue (#5397) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b265bf2ec3388b43e6c5a3d4a6621c79d3cbe227;p=friendica.git Prettified the parameter layout of workerqueue (#5397) * Prettified the parameter layout of workerqueue * Updated to code standards :) * Where did I go wrong? --- diff --git a/mod/admin.php b/mod/admin.php index 349e5b29ac..8e20850c4e 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -782,6 +782,11 @@ function admin_page_workerqueue(App $a) // get jobs from the workerqueue table $statement = dba::select('workerqueue', ['id', 'parameter', 'created', 'priority'], ['done' => 0], ['order'=> ['priority']]); $r = dba::inArray($statement); + + for($i = 0; $i < count($r); $i++) { + $r[$i]['parameter'] = implode(': ', explode('","', $r[$i]['parameter'])); + $r[$i]['parameter'] = substr($r[$i]['parameter'], 2, -4); + } $t = get_markup_template('admin/workerqueue.tpl'); return replace_macros($t, [