Doing some laundry

This commit is contained in:
Unknown 2018-08-07 12:25:55 +02:00
parent 5c254ee401
commit 62e53698df

View file

@ -790,7 +790,6 @@ function admin_page_workerqueue(App $a)
{
// get jobs from the workerqueue table
$entries = DBA::select('workerqueue', ['id', 'parameter', 'created', 'priority'], ['done' => 0], ['order'=> ['priority']]);
$r = DBA::toArray($statement);
$r = [];
while ($entry = DBA::fetch($entries)) {
@ -799,6 +798,7 @@ function admin_page_workerqueue(App $a)
$entry['created'] = DateTimeFormat::local($entry['created']);
$r[] = $entry;
}
DBA::close($entries);
$t = get_markup_template('admin/workerqueue.tpl');
return replace_macros($t, [