mirror of
https://github.com/friendica/friendica
synced 2025-04-29 23:44:22 +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
|
@ -106,7 +106,7 @@ class ACL extends BaseObject
|
|||
ORDER BY `name` ASC ", intval(local_user())
|
||||
);
|
||||
|
||||
$contacts = DBA::inArray($stmt);
|
||||
$contacts = DBA::toArray($stmt);
|
||||
|
||||
$arr = ['contact' => $contacts, 'entry' => $o];
|
||||
|
||||
|
@ -171,7 +171,7 @@ class ACL extends BaseObject
|
|||
ORDER BY `name` ASC ", intval(local_user())
|
||||
);
|
||||
|
||||
$contacts = DBA::inArray($stmt);
|
||||
$contacts = DBA::toArray($stmt);
|
||||
|
||||
$arr = ['contact' => $contacts, 'entry' => $o];
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ class Addon
|
|||
if (strlen($addons)) {
|
||||
$r = DBA::select('addon', [], ['installed' => 1]);
|
||||
if (DBM::is_result($r)) {
|
||||
$installed = DBA::inArray($r);
|
||||
$installed = DBA::toArray($r);
|
||||
} else {
|
||||
$installed = [];
|
||||
}
|
||||
|
|
|
@ -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