Commit 64ffaa6c authored by Dave Reid's avatar Dave Reid

by Dave Reid: Changed hook_user_cancel() to hook_user_delete().

parent 2ff30d73
......@@ -73,9 +73,9 @@ function xmlsitemap_user_user_update(&$edit, $account, $category) {
}
/**
* Implements hook_user_cancel().
* Implements hook_user_delete().
*/
function xmlsitemap_user_user_cancel($edit, $account, $method) {
function xmlsitemap_user_user_delete($account) {
xmlsitemap_link_delete('user', $account->uid);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment