diff options
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 8e39f5fd0..716168a55 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -368,16 +368,6 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $new_relation = $contact['rel']; $writable = $contact['writable']; - if($network === NETWORK_DIASPORA) { - if($duplex) - $new_relation = CONTACT_IS_FRIEND; - else - $new_relation = CONTACT_IS_SHARING; - - if($new_relation != CONTACT_IS_FOLLOWER) - $writable = 1; - } - $r = q("DELETE FROM `intro` WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($intro_id), intval($uid) @@ -432,12 +422,6 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if((isset($new_relation) && $new_relation == CONTACT_IS_FRIEND)) { - if(($contact) && ($contact['network'] === NETWORK_DIASPORA)) { - require_once('include/diaspora.php'); - $ret = diaspora_share($user[0],$r[0]); - logger('mod_follow: diaspora_share returns: ' . $ret); - } - // Send a new friend post if we are allowed to... $r = q("SELECT `hide-friends` FROM `profile` WHERE `uid` = %d AND `is-default` = 1 LIMIT 1", |