X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FStarred.php;h=86f6880d505e10e43b0ba4160daa34030fbd44aa;hb=4719af67245293c94bd4c4cb75e242841ed32ab6;hp=d6ec19ea732dcaebc93e680d22e1d2e0995748be;hpb=1de3f186d79f3703850524c1d58c237be3eb25f3;p=friendica.git diff --git a/src/Module/Starred.php b/src/Module/Starred.php index d6ec19ea73..86f6880d50 100644 --- a/src/Module/Starred.php +++ b/src/Module/Starred.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; @@ -36,7 +55,7 @@ class Starred 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