diff options
author | redmatrix <git@macgirvin.com> | 2016-05-21 18:18:33 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-21 18:18:33 -0700 |
commit | 1cb311cef9848178780e3fd52814bf3a64ed0556 (patch) | |
tree | c6b8d41d8f30f51c6b8637f6af19f6efd75d1475 /Zotlabs/Zot | |
parent | ed56b6e67b27900e2ff413a7781c9095aa8251a0 (diff) | |
download | volse-hubzilla-1cb311cef9848178780e3fd52814bf3a64ed0556.tar.gz volse-hubzilla-1cb311cef9848178780e3fd52814bf3a64ed0556.tar.bz2 volse-hubzilla-1cb311cef9848178780e3fd52814bf3a64ed0556.zip |
finish updating zot_finger instances
Diffstat (limited to 'Zotlabs/Zot')
-rw-r--r-- | Zotlabs/Zot/Auth.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Zotlabs/Zot/Auth.php b/Zotlabs/Zot/Auth.php index f764172fa..0837be21a 100644 --- a/Zotlabs/Zot/Auth.php +++ b/Zotlabs/Zot/Auth.php @@ -80,11 +80,9 @@ class Auth { if(! $x) { // finger them if they can't be found. - $ret = zot_finger($address, null); - if ($ret['success']) { - $j = json_decode($ret['body'], true); - if($j) - import_xchan($j); + $j = Finger::run($address, null); + if ($j['success']) { + import_xchan($j); $x = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash where hubloc_addr = '%s' order by hubloc_id desc", dbesc($address) |