mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
This commit is contained in:
parent
cc9b7bb14f
commit
8e6973b774
77 changed files with 263 additions and 259 deletions
|
@ -25,7 +25,7 @@ class Objects extends BaseModule
|
|||
}
|
||||
|
||||
if (!ActivityPub::isRequest()) {
|
||||
$a->internalRedirect(str_replace('objects/', 'display/', $a->query_string));
|
||||
DI::baseUrl()->redirect(str_replace('objects/', 'display/', $a->query_string));
|
||||
}
|
||||
|
||||
/// @todo Add Authentication to enable fetching of non public content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue