Rename selectOne to selectFirst

This commit is contained in:
Hypolite Petovan 2018-01-10 08:37:11 -05:00
parent 3e141d268e
commit a66a4959f5
10 changed files with 10 additions and 10 deletions

View file

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