mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Some more deprecated function calls are replaced
This commit is contained in:
parent
bd6616e84f
commit
e12f92e516
30 changed files with 101 additions and 163 deletions
|
@ -66,7 +66,7 @@ class Contact extends BaseModeration
|
|||
$this->baseUrl->redirect('moderation/blocklist/contact');
|
||||
}
|
||||
|
||||
if (Network::isLocalLink($contact['nurl'])) {
|
||||
if ($this->baseUrl->isLocalUrl($contact['nurl'])) {
|
||||
$this->systemMessages->addNotice($this->t('You can\'t block a local contact, please block the user instead'));
|
||||
$this->baseUrl->redirect('moderation/blocklist/contact');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue