aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Chanview.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-21 18:18:33 -0700
committerredmatrix <git@macgirvin.com>2016-05-21 18:18:33 -0700
commit1cb311cef9848178780e3fd52814bf3a64ed0556 (patch)
treec6b8d41d8f30f51c6b8637f6af19f6efd75d1475 /Zotlabs/Module/Chanview.php
parented56b6e67b27900e2ff413a7781c9095aa8251a0 (diff)
downloadvolse-hubzilla-1cb311cef9848178780e3fd52814bf3a64ed0556.tar.gz
volse-hubzilla-1cb311cef9848178780e3fd52814bf3a64ed0556.tar.bz2
volse-hubzilla-1cb311cef9848178780e3fd52814bf3a64ed0556.zip
finish updating zot_finger instances
Diffstat (limited to 'Zotlabs/Module/Chanview.php')
-rw-r--r--Zotlabs/Module/Chanview.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/Zotlabs/Module/Chanview.php b/Zotlabs/Module/Chanview.php
index f70444816..36fbbb864 100644
--- a/Zotlabs/Module/Chanview.php
+++ b/Zotlabs/Module/Chanview.php
@@ -62,18 +62,15 @@ class Chanview extends \Zotlabs\Web\Controller {
}
if($_REQUEST['address']) {
- $ret = zot_finger($_REQUEST['address'],null);
- if($ret['success']) {
- $j = json_decode($ret['body'],true);
- if($j)
- import_xchan($j);
+ $j = \Zotlabs\Zot\Finger::run($_REQUEST['address'],null);
+ if($j['success']) {
+ import_xchan($j);
$r = q("select * from xchan where xchan_addr = '%s' limit 1",
dbesc($_REQUEST['address'])
);
if($r)
\App::$poi = $r[0];
}
-
}
}