aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.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 /include/socgraph.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 'include/socgraph.php')
-rw-r--r--include/socgraph.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index 1b1bccf20..dffaa8923 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -152,11 +152,9 @@ function poco_load($xchan = '', $url = null) {
if(($x !== false) && (! count($x))) {
if($address) {
if($network === 'zot') {
- $z = zot_finger($address,null);
- if($z['success']) {
- $j = json_decode($z['body'],true);
- if($j)
- import_xchan($j);
+ $j = Zotlabs\Zot\Finger::run($address,null);
+ if($j['success']) {
+ import_xchan($j);
}
$x = q("select xchan_hash from xchan where xchan_hash = '%s' limit 1",
dbesc($hash)