Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
b9c4901d
Commit
b9c4901d
authored
Apr 20, 2006
by
Gerhard Killesreiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#59479
, Install system can cause module code to run before install hook is run, patch by JonBob
parent
45785f96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
modules/system.module
modules/system.module
+2
-1
modules/system/system.module
modules/system/system.module
+2
-1
No files found.
modules/system.module
View file @
b9c4901d
...
...
@@ -1006,7 +1006,6 @@ function system_modules_submit($form_id, $edit) {
}
module_list
(
TRUE
,
FALSE
);
menu_rebuild
();
include
'./includes/install.inc'
;
foreach
(
$new_modules
as
$module
)
{
...
...
@@ -1018,6 +1017,8 @@ function system_modules_submit($form_id, $edit) {
}
}
menu_rebuild
();
drupal_set_message
(
t
(
'The configuration options have been saved.'
));
return
'admin/modules'
;
}
...
...
modules/system/system.module
View file @
b9c4901d
...
...
@@ -1006,7 +1006,6 @@ function system_modules_submit($form_id, $edit) {
}
module_list
(
TRUE
,
FALSE
);
menu_rebuild
();
include
'./includes/install.inc'
;
foreach
(
$new_modules
as
$module
)
{
...
...
@@ -1018,6 +1017,8 @@ function system_modules_submit($form_id, $edit) {
}
}
menu_rebuild
();
drupal_set_message
(
t
(
'The configuration options have been saved.'
));
return
'admin/modules'
;
}
...
...
Write
Preview
Markdown
is supported
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