X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FStarred.php;h=86f6880d505e10e43b0ba4160daa34030fbd44aa;hb=860a25eb38614c839dca8cc0b7b0dfb5e4738e71;hp=c1fa4c3b8be318df533003a9c581d0ee24da8540;hpb=c961128416390dab45bd5bd88ec4bf7823394413;p=friendica.git diff --git a/src/Module/Starred.php b/src/Module/Starred.php index c1fa4c3b8b..86f6880d50 100644 --- a/src/Module/Starred.php +++ b/src/Module/Starred.php @@ -1,8 +1,28 @@ . + * + */ namespace Friendica\Module; use Friendica\BaseModule; +use Friendica\DI; use Friendica\Model\Item; /** @@ -35,7 +55,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