X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FStarred.php;h=0f111b21e0198f51185aef8b650044d37837bd0d;hb=6cbfa5b862ce7a241fd4339129749f87dc19760c;hp=c1fa4c3b8be318df533003a9c581d0ee24da8540;hpb=02c43f283ea6998935ec93e35e4d2593e884593a;p=friendica.git diff --git a/src/Module/Starred.php b/src/Module/Starred.php index c1fa4c3b8b..0f111b21e0 100644 --- a/src/Module/Starred.php +++ b/src/Module/Starred.php @@ -3,6 +3,7 @@ namespace Friendica\Module; use Friendica\BaseModule; +use Friendica\DI; use Friendica\Model\Item; /** @@ -35,7 +36,7 @@ class Starred 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