mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Changed parameter order for getByURL
This commit is contained in:
parent
d9c6a46ffe
commit
fc0312451d
22 changed files with 32 additions and 32 deletions
|
@ -108,7 +108,7 @@ class Advanced extends BaseModule
|
|||
throw new BadRequestException(DI::l10n()->t('Contact not found.'));
|
||||
}
|
||||
|
||||
Model\Profile::load(DI::app(), "", Model\Contact::getByURL($contact["url"], 0, [], false));
|
||||
Model\Profile::load(DI::app(), "", Model\Contact::getByURL($contact["url"], false));
|
||||
|
||||
$warning = DI::l10n()->t('<strong>WARNING: This is highly advanced</strong> and if you enter incorrect information your communications with this contact may stop working.');
|
||||
$info = DI::l10n()->t('Please use your browser \'Back\' button <strong>now</strong> if you are uncertain what to do on this page.');
|
||||
|
|
|
@ -67,7 +67,7 @@ class Hovercard extends BaseModule
|
|||
if (Session::isAuthenticated()) {
|
||||
$contact = Contact::getByURLForUser($contact_url, local_user(), [], false);
|
||||
} else {
|
||||
$contact = Contact::getByURL($contact_url, 0, [], false);
|
||||
$contact = Contact::getByURL($contact_url, false);
|
||||
}
|
||||
|
||||
if (!count($contact)) {
|
||||
|
|
|
@ -138,7 +138,7 @@ class Poke extends BaseModule
|
|||
throw new HTTPException\NotFoundException();
|
||||
}
|
||||
|
||||
Model\Profile::load(DI::app(), '', Model\Contact::getByURL($contact["url"], 0, [], false));
|
||||
Model\Profile::load(DI::app(), '', Model\Contact::getByURL($contact["url"], false));
|
||||
|
||||
$verbs = [];
|
||||
foreach (DI::l10n()->getPokeVerbs() as $verb => $translations) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue