finish updating zot_finger instances
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user