You are here

function subscriptions_user_cancel in Subscriptions 2.0.x

Same name in this branch
  1. 2.0.x subscriptions.module \subscriptions_user_cancel()
  2. 2.0.x subscriptions.module.old.php \subscriptions_user_cancel()
Same name and namespace in other branches
  1. 7 subscriptions.module \subscriptions_user_cancel()

Implements hook_user_cancel().

File

./subscriptions.module, line 43
Module file for the basic Subscriptions framework.

Code

function subscriptions_user_cancel($edit, UserInterface $account, $method) {
  subscriptions_user_delete($account);
}