diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-16 01:56:50 -0500 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-16 01:56:50 -0500 |
commit | 97a224951ba27f831ba40dd610559b5cd213fe5b (patch) | |
tree | f1c362d35179b6af06fdcad47f5715051e9fa2fa | |
parent | 4725ee8e702f36933d03fc8d842d8438eb7be27f (diff) | |
download | brdo-97a224951ba27f831ba40dd610559b5cd213fe5b.tar.gz brdo-97a224951ba27f831ba40dd610559b5cd213fe5b.tar.bz2 |
Issue #1234834 by catch: Fixed user_update_7006() causes fatal errors when trying to fill 'module' column of permissions table on disabled modules.
-rw-r--r-- | modules/user/user.install | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/user/user.install b/modules/user/user.install index 2867b97ed..9d855ea1d 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(); - } } /** |