Commented out the functionality
This commit is contained in:
parent
3824ad5590
commit
a7b004a727
1 changed files with 12 additions and 10 deletions
|
@ -992,16 +992,18 @@ class Diaspora
|
||||||
* That makes us friends.
|
* That makes us friends.
|
||||||
* Normally this should have handled by getting a request - but this could get lost
|
* Normally this should have handled by getting a request - but this could get lost
|
||||||
*/
|
*/
|
||||||
if (!$is_comment && $contact["rel"] == CONTACT_IS_FOLLOWER && in_array($importer["page-flags"], array(PAGE_FREELOVE))) {
|
// It is deactivated by now, due to side effects. See issue https://github.com/friendica/friendica/pull/4033
|
||||||
dba::update(
|
// It is not removed by now. Possibly the code is needed?
|
||||||
'contact',
|
//if (!$is_comment && $contact["rel"] == CONTACT_IS_FOLLOWER && in_array($importer["page-flags"], array(PAGE_FREELOVE))) {
|
||||||
array('rel' => CONTACT_IS_FRIEND, 'writable' => true),
|
// dba::update(
|
||||||
array('id' => $contact["id"], 'uid' => $contact["uid"])
|
// 'contact',
|
||||||
);
|
// array('rel' => CONTACT_IS_FRIEND, 'writable' => true),
|
||||||
|
// array('id' => $contact["id"], 'uid' => $contact["uid"])
|
||||||
$contact["rel"] = CONTACT_IS_FRIEND;
|
// );
|
||||||
logger("defining user ".$contact["nick"]." as friend");
|
//
|
||||||
}
|
// $contact["rel"] = CONTACT_IS_FRIEND;
|
||||||
|
// logger("defining user ".$contact["nick"]." as friend");
|
||||||
|
//}
|
||||||
|
|
||||||
// We don't seem to like that person
|
// We don't seem to like that person
|
||||||
if ($contact["blocked"] || $contact["readonly"] || $contact["archive"]) {
|
if ($contact["blocked"] || $contact["readonly"] || $contact["archive"]) {
|
||||||
|
|
Loading…
Reference in a new issue