X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fxrd.php;h=b4cb60afed68c7b1c80b27a61cc0e84ab8b90a07;hb=6c341962648b73c935c2de26996b07332b776a1f;hp=1b3b4f3cc1c6b5e9f06a8e14c046fa0e4b9ff639;hpb=55e54bb9500f54bb075dcbc2054018de0969d9e7;p=friendica.git diff --git a/mod/xrd.php b/mod/xrd.php index 1b3b4f3cc1..b4cb60afed 100644 --- a/mod/xrd.php +++ b/mod/xrd.php @@ -63,13 +63,13 @@ function xrd_init(App $a) } if ($mode == 'xml') { - xrd_xml($a, $addr, $alias, $profile_url, $user); + xrd_xml($addr, $alias, $profile_url, $user); } else { - xrd_json($a, $addr, $alias, $profile_url, $user); + xrd_json($addr, $alias, $profile_url, $user); } } -function xrd_json($a, $uri, $alias, $profile_url, $r) +function xrd_json($uri, $alias, $profile_url, $r) { $salmon_key = Salmon::salmonKey($r['spubkey']); @@ -100,7 +100,7 @@ function xrd_json($a, $uri, $alias, $profile_url, $r) exit(); } -function xrd_xml($a, $uri, $alias, $profile_url, $r) +function xrd_xml($uri, $alias, $profile_url, $r) { $salmon_key = Salmon::salmonKey($r['spubkey']);