function history_user_cancel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/history/history.module \history_user_cancel()
Implements hook_user_cancel().
File
- core/
modules/ history/ history.module, line 162 - Records which users have read which content.
Code
function history_user_cancel($edit, $account, $method) {
switch ($method) {
case 'user_cancel_reassign':
db_delete('history')
->condition('uid', $account
->id())
->execute();
break;
}
}