function user_modules_uninstalled

Same name in other branches
  1. 9 core/modules/user/user.module \user_modules_uninstalled()
  2. 8.9.x core/modules/user/user.module \user_modules_uninstalled()
  3. 10 core/modules/user/user.module \user_modules_uninstalled()
  4. 11.x core/modules/user/user.module \user_modules_uninstalled()

Implements hook_modules_uninstalled().

File

modules/user/user.module, line 4073

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.