mirror of
https://github.com/friendica/friendica
synced 2025-04-30 18:24:23 +02:00
Fix various Notices
This commit is contained in:
parent
9b19fb9b4d
commit
644f312896
7 changed files with 12 additions and 10 deletions
|
@ -1102,7 +1102,7 @@ class Processor
|
|||
return;
|
||||
}
|
||||
|
||||
Contact::removeFollower($owner, $contact);
|
||||
Contact::removeFollower($contact);
|
||||
Logger::info('Undo following request', ['contact' => $cid, 'user' => $uid]);
|
||||
}
|
||||
|
||||
|
|
|
@ -1584,7 +1584,7 @@ class DFRN
|
|||
}
|
||||
if ($activity->match($item["verb"], Activity::UNFOLLOW)) {
|
||||
Logger::log("Lost follower");
|
||||
Contact::removeFollower($importer, $contact, $item);
|
||||
Contact::removeFollower($contact);
|
||||
return false;
|
||||
}
|
||||
if ($activity->match($item["verb"], Activity::REQ_FRIEND)) {
|
||||
|
|
|
@ -2211,7 +2211,7 @@ class Diaspora
|
|||
return true;
|
||||
} else {
|
||||
Logger::log("Author ".$author." doesn't want to follow us anymore.", Logger::DEBUG);
|
||||
Contact::removeFollower($importer, $contact);
|
||||
Contact::removeFollower($contact);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -471,7 +471,7 @@ class OStatus
|
|||
|
||||
if ($item["verb"] == Activity::O_UNFOLLOW) {
|
||||
$dummy = null;
|
||||
Contact::removeFollower($importer, $contact, $item, $dummy);
|
||||
Contact::removeFollower($contact);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue