mirror of
https://github.com/friendica/friendica
synced 2025-04-25 08:30:11 +00: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
|
@ -874,7 +874,7 @@ class Worker
|
|||
$r = DBA::select('workerqueue', [], ['pid' => getmypid(), 'done' => false]);
|
||||
if (DBM::is_result($r)) {
|
||||
self::$db_duration += (microtime(true) - $stamp);
|
||||
return DBA::inArray($r);
|
||||
return DBA::toArray($r);
|
||||
}
|
||||
DBA::close($r);
|
||||
|
||||
|
@ -892,7 +892,7 @@ class Worker
|
|||
|
||||
if ($found) {
|
||||
$r = DBA::select('workerqueue', [], ['pid' => getmypid(), 'done' => false]);
|
||||
return DBA::inArray($r);
|
||||
return DBA::toArray($r);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue