From: Unknown Date: Tue, 7 Aug 2018 10:25:55 +0000 (+0200) Subject: Doing some laundry X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62e53698dfe113cd27e8ef8b3a38262cc5ff9f05;p=friendica.git Doing some laundry --- diff --git a/mod/admin.php b/mod/admin.php index 153b105063..b2f84d0729 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -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, [