function user_modules_uninstalled

7.x user.module user_modules_uninstalled($modules)

Implements hook_modules_uninstalled().

File

drupal-7.x/modules/user/user.module, line 3933
Enables the user registration and login system.

Code

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