history_user_cancel($edit, $account, $method)
Implements hook_user_cancel().
function history_user_cancel($edit, $account, $method) { switch ($method) { case 'user_cancel_reassign': db_delete('history') ->condition('uid', $account->id()) ->execute(); break; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!history!history.module/function/history_user_cancel/8.1.x