Rename DBA::fetch_first to DBA::fetchFirst

This commit is contained in:
Hypolite Petovan 2018-07-20 22:01:53 -04:00
parent 591939dfc0
commit f051ae1698
12 changed files with 18 additions and 18 deletions

View file

@ -213,7 +213,7 @@ function dfrn_dispatch_public($postdata)
}
// We now have some contact, so we fetch it
$importer = DBA::fetch_first("SELECT *, `name` as `senderName`
$importer = DBA::fetchFirst("SELECT *, `name` as `senderName`
FROM `contact`
WHERE NOT `blocked` AND `id` = ? LIMIT 1",
$contact['id']);
@ -252,7 +252,7 @@ function dfrn_dispatch_private($user, $postdata)
}
// We now have some contact, so we fetch it
$importer = DBA::fetch_first("SELECT *, `name` as `senderName`
$importer = DBA::fetchFirst("SELECT *, `name` as `senderName`
FROM `contact`
WHERE NOT `blocked` AND `id` = ? LIMIT 1",
$cid);