Rename DBA::is_result to DBA::isResult
This commit is contained in:
parent
0ec44f3e8a
commit
ecea7425f8
152 changed files with 765 additions and 765 deletions
|
@ -24,7 +24,7 @@ function redir_init(App $a) {
|
|||
if (!empty($cid)) {
|
||||
$fields = ['id', 'uid', 'nurl', 'url', 'addr', 'name', 'network', 'poll', 'issued-id', 'dfrn-id', 'duplex'];
|
||||
$contact = DBA::selectFirst('contact', $fields, ['id' => $cid, 'uid' => [0, local_user()]]);
|
||||
if (!DBA::is_result($contact)) {
|
||||
if (!DBA::isResult($contact)) {
|
||||
notice(L10n::t('Contact not found.'));
|
||||
goaway(System::baseUrl());
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ function redir_init(App $a) {
|
|||
// between the puplic contact we have found and the local user.
|
||||
$contact = DBA::selectFirst('contact', $fields, ['nurl' => $contact['nurl'], 'uid' => local_user()]);
|
||||
|
||||
if (DBA::is_result($contact)) {
|
||||
if (DBA::isResult($contact)) {
|
||||
$cid = $contact['id'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue