mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Rename selectOne to selectFirst
This commit is contained in:
parent
3e141d268e
commit
a66a4959f5
10 changed files with 10 additions and 10 deletions
|
@ -97,7 +97,7 @@ function ifttt_post(App $a)
|
|||
|
||||
$nickname = $a->argv[1];
|
||||
|
||||
$user = dba::selectOne('user', ['uid'], ['nickname' => $nickname]);
|
||||
$user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname]);
|
||||
if (!DBM::is_result($user)) {
|
||||
logger('User ' . $nickname . ' not found.', LOGGER_DEBUG);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue