Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user