finish updating zot_finger instances

This commit is contained in:
redmatrix
2016-05-21 18:18:33 -07:00
parent ed56b6e67b
commit 1cb311cef9
10 changed files with 29 additions and 44 deletions

View File

@@ -47,11 +47,9 @@ class Magic extends \Zotlabs\Web\Controller {
*
*/
$ret = zot_finger((($addr) ? $addr : '[system]@' . $parsed['host']),null);
if($ret['success']) {
$j = json_decode($ret['body'],true);
if($j)
import_xchan($j);
$j = \Zotlabs\Zot\Finger::run((($addr) ? $addr : '[system]@' . $parsed['host']),null);
if($j['success']) {
import_xchan($j);
// Now try again