diff options
author | friendica <info@friendica.com> | 2012-11-01 02:00:25 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-01 02:00:25 -0700 |
commit | 3f7530417aa6443b8e3fd8b137c890e4f3590979 (patch) | |
tree | e58b92f27893dea72d9fb4f337ff45bf10389927 /include/follow.php | |
parent | d4657c89c2e69d06941d687c570e914c62ab2d06 (diff) | |
download | volse-hubzilla-3f7530417aa6443b8e3fd8b137c890e4f3590979.tar.gz volse-hubzilla-3f7530417aa6443b8e3fd8b137c890e4f3590979.tar.bz2 volse-hubzilla-3f7530417aa6443b8e3fd8b137c890e4f3590979.zip |
typos
Diffstat (limited to 'include/follow.php')
-rw-r--r-- | include/follow.php | 9 |
1 files changed, 6 insertions, 3 deletions
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; + + + } |