mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
parent
2ef81108b3
commit
d00ddc01af
61 changed files with 286 additions and 266 deletions
|
@ -24,7 +24,7 @@ class Objects extends BaseModule
|
|||
}
|
||||
|
||||
if (!ActivityPub::isRequest()) {
|
||||
$a->redirect(str_replace('objects/', 'display/', $a->query_string));
|
||||
$a->internalRedirect(str_replace('objects/', 'display/', $a->query_string));
|
||||
}
|
||||
|
||||
$item = Item::selectFirst(['id'], ['guid' => $a->argv[1], 'wall' => true, 'private' => false]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue