[RSS Feed/News] Unsubscribe does not disable activity summary emails

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Activity summary emails are some kind of newsletter and thus should be disabled when the users sends an unsubscribe email.

This is currently not the case, only admin initiated newsletters / emails are deactivated:
\XF\EmailUnsubscribe\Processor:applyUserUnsubscribeAction()
PHP:

Code:
public function applyUserUnsubscribeAction(User $user)
{
    $user->Option->receive_admin_email = false;
    $user->Option->save(false);
}
Read more about this Feed
 
Status
Not open for further replies.
Back
Top Bottom