Commit 25ac9ebe authored by Dries's avatar Dries
Browse files

- Patch #607238 by ctmattice1, catch: made the upgrade path work again.

parent 300a7ed2
......@@ -514,7 +514,7 @@ function user_update_7006(&$sandbox) {
// Add a new field for the fid.
db_add_field('role_permission', 'module', $module_field);
}
$permissions = user_permissions_get_modules();
$permissions = user_permission_get_modules();
foreach ($permissions as $key => $value) {
db_update('role_permission')
->fields(array('module' => $value))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment