mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -32,7 +32,7 @@ function receive_post(App $a)
|
|||
}
|
||||
$guid = $a->argv[2];
|
||||
|
||||
$importer = dba::selectOne('user', [], ['guid' => $guid, 'account_expired' => false, 'account_removed' => false]);
|
||||
$importer = dba::selectFirst('user', [], ['guid' => $guid, 'account_expired' => false, 'account_removed' => false]);
|
||||
if (!DBM::is_result($importer)) {
|
||||
http_status_exit(500);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue