You are here

function comment_notify_unsubscribe in Comment Notify 6

Same name and namespace in other branches
  1. 5.2 comment_notify.module \comment_notify_unsubscribe()
  2. 5 comment_notify.module \comment_notify_unsubscribe()
  3. 7 comment_notify.module \comment_notify_unsubscribe()

Callback for an administrative form to unsubscribe users by e-mail address.

1 string reference to 'comment_notify_unsubscribe'
comment_notify_menu in ./comment_notify.module
Implementation of hook_menu().

File

./comment_notify.module, line 542
This module provides comment follow-up e-mail notification for anonymous and registered users.

Code

function comment_notify_unsubscribe() {
  $form['comment_notify_unsubscribe'] = array();
  $form['comment_notify_unsubscribe']['email_to_unsubscribe'] = array(
    '#type' => 'textfield',
    '#title' => t('Email to unsubscribe'),
  );
  $form['comment_notify_unsubscribe']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Unsubscribe this e-mail'),
  );
  return $form;
}