You are here

function pathauto_user_delete in Pathauto 7

Implements hook_user_delete().

File

./pathauto.module, line 1039
Main file for the Pathauto module, which automatically generates aliases for content.

Code

function pathauto_user_delete($account) {
  pathauto_entity_path_delete_all('user', $account, "user/{$account->uid}");
  pathauto_path_delete_all("blog/{$account->uid}");
}