1
0
Fork 0

Rename DBA::fetch_first to DBA::fetchFirst

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

View file

@ -102,7 +102,7 @@ class ContactSelector
$networkname = str_replace($search, $replace, $s);
if ((in_array($s, [NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_OSTATUS])) && ($profile != "")) {
$r = DBA::fetch_first("SELECT `gserver`.`platform` FROM `gcontact`
$r = DBA::fetchFirst("SELECT `gserver`.`platform` FROM `gcontact`
INNER JOIN `gserver` ON `gserver`.`nurl` = `gcontact`.`server_url`
WHERE `gcontact`.`nurl` = ? AND `platform` != ''", normalise_link($profile));