mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Rename DBA::inArray to DBA::toArray
This commit is contained in:
parent
f051ae1698
commit
4db98eb43d
17 changed files with 34 additions and 34 deletions
|
@ -479,7 +479,7 @@ function admin_page_contactblock(App $a)
|
|||
|
||||
$statement = DBA::select('contact', [], $condition, ['limit' => [$a->pager['start'], $a->pager['itemspage']]]);
|
||||
|
||||
$contacts = DBA::inArray($statement);
|
||||
$contacts = DBA::toArray($statement);
|
||||
|
||||
$t = get_markup_template('admin/contactblock.tpl');
|
||||
$o = replace_macros($t, [
|
||||
|
@ -782,7 +782,7 @@ 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);
|
||||
$r = DBA::toArray($statement);
|
||||
|
||||
for($i = 0; $i < count($r); $i++) {
|
||||
$r[$i]['parameter'] = implode(json_decode($r[$i]['parameter']), ': ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue