X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FAcctlink.php;h=f80ea4c73c9d32e353fa9a67ac57023a096c874a;hb=2ce15cae1a41451b631b814c418b3b3b976d79d1;hp=1c2500a224e6cc6dd0e2fcffa0200650cb8c5694;hpb=f59ea2af55aea17beeda1f93ad9ea91f12b1b84d;p=friendica.git diff --git a/src/Module/Acctlink.php b/src/Module/Acctlink.php index 1c2500a224..f80ea4c73c 100644 --- a/src/Module/Acctlink.php +++ b/src/Module/Acctlink.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; @@ -11,13 +30,12 @@ use Friendica\Core\System; */ class Acctlink extends BaseModule { - public static function content() + public static function content(array $parameters = []) { $addr = trim($_GET['addr'] ?? ''); if ($addr) { $url = Probe::uri($addr)['url'] ?? ''; - if ($url) { System::externalRedirect($url); exit();