mirror of
https://github.com/friendica/friendica
synced 2025-04-21 15:50:13 +00:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -80,7 +80,7 @@ class Queue
|
|||
|
||||
$q_item = $r[0];
|
||||
|
||||
$contact = dba::selectOne('contact', [], ['id' => $q_item['cid']]);
|
||||
$contact = dba::selectFirst('contact', [], ['id' => $q_item['cid']]);
|
||||
if (!DBM::is_result($contact)) {
|
||||
remove_queue_item($q_item['id']);
|
||||
return;
|
||||
|
@ -113,7 +113,7 @@ class Queue
|
|||
}
|
||||
}
|
||||
|
||||
$user = dba::selectOne('user', [], ['uid' => $contact['uid']]);
|
||||
$user = dba::selectFirst('user', [], ['uid' => $contact['uid']]);
|
||||
if (!DBM::is_result($user)) {
|
||||
remove_queue_item($q_item['id']);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue