$this out of context (use $rcpt)

This commit is contained in:
Mikael Nordfeldth 2015-02-03 21:15:37 +01:00
parent 7666ac34f9
commit 3f7a305b2a

View File

@ -525,7 +525,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
*/
function mail_notify_fave(User $rcpt, Profile $sender, Notice $notice)
{
if (!$rcpt->receivesEmailNotifications() || !$rcpt->getPref('email', 'notify_fave', $this->email_notify_fave)) {
if (!$rcpt->receivesEmailNotifications() || !$rcpt->getPref('email', 'notify_fave', $rcpt->email_notify_fave)) {
return;
}