aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xrd.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-24 15:19:28 -0800
committerredmatrix <git@macgirvin.com>2016-02-24 15:19:28 -0800
commit7e6febe2a6609457eca1f1caf650375534780048 (patch)
tree96f1715d8e72f69db0c7c32c646cb0a54aafb565 /mod/xrd.php
parentb101a8f6fb3fd3ec0d5466ba1bb7bc9dc9480fba (diff)
downloadvolse-hubzilla-7e6febe2a6609457eca1f1caf650375534780048.tar.gz
volse-hubzilla-7e6febe2a6609457eca1f1caf650375534780048.tar.bz2
volse-hubzilla-7e6febe2a6609457eca1f1caf650375534780048.zip
add 'requires' field to plugin info to list other dependent plugins/addons and disable if dependencies are not installed/enabled
Diffstat (limited to 'mod/xrd.php')
-rw-r--r--mod/xrd.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/xrd.php b/mod/xrd.php
index 34ed47149..da4ab51a4 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -35,8 +35,6 @@ function xrd_init(&$a) {
header("Content-type: application/xrd+xml");
- $tpl = get_markup_template('view/xrd_person.tpl');
-
$o = replace_macros(get_markup_template('xrd_person.tpl'), array(
'$nick' => $r[0]['channel_address'],
'$accturi' => $uri,
@@ -51,7 +49,7 @@ function xrd_init(&$a) {
// '$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['channel_address'] . '/mention',
'$modexp' => 'data:application/magic-public-key,' . $salmon_key,
'$subscribe' => $a->get_baseurl() . '/follow?url={uri}',
-// '$bigkey' => salmon_key($r[0]['pubkey'])
+ '$bigkey' => salmon_key($r[0]['channel_pubkey'])
));