Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
25ac9ebe
Commit
25ac9ebe
authored
Feb 06, 2010
by
Dries
Browse files
- Patch
#607238
by ctmattice1, catch: made the upgrade path work again.
parent
300a7ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.install
View file @
25ac9ebe
...
...
@@ -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_permission
s
_get_modules
();
$permissions
=
user_permission_get_modules
();
foreach
(
$permissions
as
$key
=>
$value
)
{
db_update
(
'role_permission'
)
->
fields
(
array
(
'module'
=>
$value
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment