aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-01 02:00:25 -0700
committerfriendica <info@friendica.com>2012-11-01 02:00:25 -0700
commit3f7530417aa6443b8e3fd8b137c890e4f3590979 (patch)
treee58b92f27893dea72d9fb4f337ff45bf10389927
parentd4657c89c2e69d06941d687c570e914c62ab2d06 (diff)
downloadvolse-hubzilla-3f7530417aa6443b8e3fd8b137c890e4f3590979.tar.gz
volse-hubzilla-3f7530417aa6443b8e3fd8b137c890e4f3590979.tar.bz2
volse-hubzilla-3f7530417aa6443b8e3fd8b137c890e4f3590979.zip
typos
-rw-r--r--include/follow.php9
-rw-r--r--mod/zfinger.php2
2 files changed, 7 insertions, 4 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;
+
+
+
}
diff --git a/mod/zfinger.php b/mod/zfinger.php
index bebbf7f6d..c1ab8dc7d 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -60,7 +60,7 @@ function zfinger_init(&$a) {
$ret['name'] = $e['xchan_name'];
$ret['name_updated'] = $e['xchan_name_date'];
$ret['address'] = $e['xchan_addr'];
- $ret['photo_mimetype'] = $e['xchan_photo_mimetype'],
+ $ret['photo_mimetype'] = $e['xchan_photo_mimetype'];
$ret['photo'] = $e['xchan_photo_l'];
$ret['photo_updated'] = $e['xchan_photo_date'];
$ret['url'] = $e['xchan_url'];