Renamed System::redirect() to $a->redirect()

This commit is contained in:
Philipp Holzer
2018-10-13 20:02:04 +02:00
parent c46caeb0d3
commit 2ef81108b3
62 changed files with 269 additions and 253 deletions

View File

@@ -24,7 +24,7 @@ class Objects extends BaseModule
}
if (!ActivityPub::isRequest()) {
goaway(str_replace('objects/', 'display/', $a->query_string));
$a->redirect(str_replace('objects/', 'display/', $a->query_string));
}
$item = Item::selectFirst(['id'], ['guid' => $a->argv[1], 'wall' => true, 'private' => false]);