aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/xrd.php')
-rw-r--r--mod/xrd.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/mod/xrd.php b/mod/xrd.php
index 623c34b4e..49db2fac8 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -27,16 +27,7 @@ function xrd_init(&$a) {
header('Access-Control-Allow-Origin: *');
header("Content-type: text/xml");
- if(get_config('system','diaspora_enabled')) {
- $tpl = file_get_contents('view/xrd_diaspora.tpl');
- $dspr = replace_macros($tpl,array(
- '$baseurl' => $a->get_baseurl(),
- '$dspr_guid' => $r[0]['guid'],
- '$dspr_key' => base64_encode(pemtorsa($r[0]['pubkey']))
- ));
- }
- else
- $dspr = '';
+ $dspr = '';
$tpl = file_get_contents('view/xrd_person.tpl');