$this out of context (use $rcpt)
This commit is contained in:
parent
7666ac34f9
commit
3f7a305b2a
|
@ -525,7 +525,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
|
||||||
*/
|
*/
|
||||||
function mail_notify_fave(User $rcpt, Profile $sender, Notice $notice)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user