You are here

function user_modules_uninstalled in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/user/user.module \user_modules_uninstalled()
  2. 9 core/modules/user/user.module \user_modules_uninstalled()
  3. 10 core/modules/user/user.module \user_modules_uninstalled()

Implements hook_modules_uninstalled().

File

modules/user/user.module, line 4012
Enables the user registration and login system.

Code

function user_modules_uninstalled($modules) {
  db_delete('role_permission')
    ->condition('module', $modules, 'IN')
    ->execute();
}