aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wfinger.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-19 00:06:10 -0800
committerredmatrix <git@macgirvin.com>2016-02-19 00:06:10 -0800
commit28d07fd6b2b48632edadc94055c1be8a0cb11274 (patch)
tree3f32eb951b3a3fae05ae7be1566d66a1293b1339 /mod/wfinger.php
parent5a7b994e59306519574ce7aaa004f08d7d47ee05 (diff)
downloadvolse-hubzilla-28d07fd6b2b48632edadc94055c1be8a0cb11274.tar.gz
volse-hubzilla-28d07fd6b2b48632edadc94055c1be8a0cb11274.tar.bz2
volse-hubzilla-28d07fd6b2b48632edadc94055c1be8a0cb11274.zip
move storage assets to zotlabs/storage
Diffstat (limited to 'mod/wfinger.php')
-rw-r--r--mod/wfinger.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/wfinger.php b/mod/wfinger.php
index 5270c8f31..0c1c03f08 100644
--- a/mod/wfinger.php
+++ b/mod/wfinger.php
@@ -51,8 +51,6 @@ function wfinger_init(&$a) {
header('Access-Control-Allow-Origin: *');
- header('Content-type: application/jrd+json');
-
if($resource && $r) {
@@ -124,7 +122,6 @@ function wfinger_init(&$a) {
$arr = array('channel' => $r[0], 'request' => $_REQUEST, 'result' => $result);
call_hooks('webfinger',$arr);
- echo json_encode($arr['result']);
- killme();
+ json_return_and_die($arr['result'],'application/jrd+json');
} \ No newline at end of file