summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/user/user.install7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/user/user.install b/modules/user/user.install
index 2867b97..9d855ea 100644
--- a/modules/user/user.install
+++ b/modules/user/user.install
@@ -598,13 +598,6 @@ function user_update_7006(&$sandbox) {
// Add a new field for the fid.
db_add_field('role_permission', 'module', $module_field);
}
- $permissions = user_permission_get_modules();
- foreach ($permissions as $key => $value) {
- db_update('role_permission')
- ->fields(array('module' => $value))
- ->condition('permission', $key)
- ->execute();
- }
}
/**