]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Pinned.php
Remove deprecated code
[friendica.git] / src / Module / Pinned.php
index 1bd25f2722caf59a093b8c3d92551405aeb44aeb..b28777516ef0fcacb8cb624c900ca61edaf96ae3 100644 (file)
@@ -31,7 +31,7 @@ class Pinned extends BaseModule
                $returnPath = $_REQUEST['return'] ?? '';
                if (!empty($returnPath)) {
                        $rand = '_=' . time() . (strpos($returnPath, '?') ? '&' : '?') . 'rand';
-                       DI::app()->internalRedirect($returnPath . $rand);
+                       DI::baseUrl()->redirect($returnPath . $rand);
                }
 
                // the json doesn't really matter, it will either be 0 or 1