]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Objects.php
Renamed System::redirect() to $a->redirect()
[friendica.git] / src / Module / Objects.php
index ba9dace2e567295d825c908e364a6cf533a5e561..0f9493db61d9384433852add315a2cce96085af5 100644 (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]);