From 3f7530417aa6443b8e3fd8b137c890e4f3590979 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 1 Nov 2012 02:00:25 -0700 Subject: typos --- include/follow.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/follow.php') diff --git a/include/follow.php b/include/follow.php index 058e77b89..405e926df 100644 --- a/include/follow.php +++ b/include/follow.php @@ -31,7 +31,7 @@ function new_contact($uid,$url,$channel,$interactive = false) { call_hooks('follow', $arr); - if($arr['channel']['success'])) + if($arr['channel']['success']) $ret = $arr['channel']; else $ret = zot_finger($url,$channel,false); @@ -102,7 +102,7 @@ function new_contact($uid,$url,$channel,$interactive = false) { - +/* $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `nurl`, `addr`, `alias`, `batch`, `notify`, `poll`, `poco`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`, `writable`, `hidden`, `blocked`, `readonly`, `pending` ) @@ -174,9 +174,12 @@ function new_contact($uid,$url,$channel,$interactive = false) { // pull feed and consume it - +*/ proc_run('php',"include/poller.php","$contact_id"); $result['success'] = true; return $result; + + + } -- cgit v1.2.3