aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Regdir.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/Regdir.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/Regdir.php')
-rw-r--r--Zotlabs/Module/Regdir.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/Zotlabs/Module/Regdir.php b/Zotlabs/Module/Regdir.php
index 65f8daf67..48a7cc16d 100644
--- a/Zotlabs/Module/Regdir.php
+++ b/Zotlabs/Module/Regdir.php
@@ -60,14 +60,11 @@ class Regdir extends \Zotlabs\Web\Controller {
json_return_and_die($result);
}
- $f = zot_finger('[system]@' . $m['host']);
- if($f['success']) {
- $j = json_decode($f['body'],true);
- if($j['success'] && $j['guid']) {
- $x = import_xchan($j);
- if($x['success']) {
- $result['success'] = true;
- }
+ $j = \Zotlabs\Zot\Finger::run('[system]@' . $m['host']);
+ if($j['success'] && $j['guid']) {
+ $x = import_xchan($j);
+ if($x['success']) {
+ $result['success'] = true;
}
}