aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Gprobe.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Daemon/Gprobe.php')
-rw-r--r--Zotlabs/Daemon/Gprobe.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Daemon/Gprobe.php b/Zotlabs/Daemon/Gprobe.php
index 8141739be..43cce93c3 100644
--- a/Zotlabs/Daemon/Gprobe.php
+++ b/Zotlabs/Daemon/Gprobe.php
@@ -22,9 +22,8 @@ class Gprobe {
);
if(! $r) {
- $x = zot_finger($url,null);
- if($x['success']) {
- $j = json_decode($x['body'],true);
+ $j = \Zotlabs\Zot\Finger::run($url,null);
+ if($j['success']) {
$y = import_xchan($j);
}
}