You are here

function comment_notify_user_predelete in Comment Notify 8

Implements hook_user_delete().

File

./comment_notify.module, line 318
This module provides comment follow-up e-mail notifications.

Code

function comment_notify_user_predelete(EntityInterface $entity) {

  // This hook is invoked when the account is deleted.
  comment_notify_remove_user_settings($entity
    ->id());
}