mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Rename DBA::fetch_first to DBA::fetchFirst
This commit is contained in:
parent
591939dfc0
commit
f051ae1698
12 changed files with 18 additions and 18 deletions
|
@ -210,7 +210,7 @@ class Profile
|
|||
$profile = null;
|
||||
|
||||
if ($profile_id) {
|
||||
$profile = DBA::fetch_first(
|
||||
$profile = DBA::fetchFirst(
|
||||
"SELECT `contact`.`id` AS `contact_id`, `contact`.`photo` AS `contact_photo`,
|
||||
`contact`.`thumb` AS `contact_thumb`, `contact`.`micro` AS `contact_micro`,
|
||||
`profile`.`uid` AS `profile_uid`, `profile`.*,
|
||||
|
@ -224,7 +224,7 @@ class Profile
|
|||
);
|
||||
}
|
||||
if (!DBM::is_result($profile)) {
|
||||
$profile = DBA::fetch_first(
|
||||
$profile = DBA::fetchFirst(
|
||||
"SELECT `contact`.`id` AS `contact_id`, `contact`.`photo` as `contact_photo`,
|
||||
`contact`.`thumb` AS `contact_thumb`, `contact`.`micro` AS `contact_micro`,
|
||||
`profile`.`uid` AS `profile_uid`, `profile`.*,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue