Rename DBA::inArray to DBA::toArray

This commit is contained in:
Hypolite Petovan 2018-07-20 22:03:40 -04:00
parent f051ae1698
commit 4db98eb43d
17 changed files with 34 additions and 34 deletions

View file

@ -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;
}