X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPinned.php;h=b28777516ef0fcacb8cb624c900ca61edaf96ae3;hb=1fc1989f93ee9a8a6014f4db6b4c260443f813d2;hp=e4c0d2b0e71442d4df393f8d215f52d351adac2f;hpb=ce4c2699801d8c933126f3d9f7cc9b04b9b3161e;p=friendica.git diff --git a/src/Module/Pinned.php b/src/Module/Pinned.php index e4c0d2b0e7..b28777516e 100644 --- a/src/Module/Pinned.php +++ b/src/Module/Pinned.php @@ -3,6 +3,7 @@ namespace Friendica\Module; use Friendica\BaseModule; +use Friendica\DI; use Friendica\Model\Item; /** @@ -30,7 +31,7 @@ class Pinned extends BaseModule $returnPath = $_REQUEST['return'] ?? ''; if (!empty($returnPath)) { $rand = '_=' . time() . (strpos($returnPath, '?') ? '&' : '?') . 'rand'; - self::getApp()->internalRedirect($returnPath . $rand); + DI::baseUrl()->redirect($returnPath . $rand); } // the json doesn't really matter, it will either be 0 or 1