mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -165,7 +165,7 @@ class Worker
|
|||
private static function highestPriority()
|
||||
{
|
||||
$condition = array("`executed` <= ? AND NOT `done`", NULL_DATE);
|
||||
$s = dba::selectOne('workerqueue', ['priority'], $condition, ['order' => ['priority']]);
|
||||
$s = dba::selectFirst('workerqueue', ['priority'], $condition, ['order' => ['priority']]);
|
||||
if (DBM::is_result($s)) {
|
||||
return $s["priority"];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue