Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
294
Merge Requests
294
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
5516b946
Commit
5516b946
authored
Nov 13, 2012
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1830148
by cspitzlay: Convert 'install_profile_modules()' variable to state.
parent
9d98cb98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
core/includes/install.core.inc
core/includes/install.core.inc
+3
-3
No files found.
core/includes/install.core.inc
View file @
5516b946
...
...
@@ -903,7 +903,7 @@ function install_base_system(&$install_state) {
// after all the dependencies have been installed.
$modules
[]
=
drupal_get_profile
();
variable_
set
(
'install_profile_modules'
,
array_diff
(
$modules
,
array
(
'system'
)));
state
()
->
set
(
'install_profile_modules'
,
array_diff
(
$modules
,
array
(
'system'
)));
$install_state
[
'database_tables_exist'
]
=
TRUE
;
}
...
...
@@ -1517,9 +1517,9 @@ function install_bootstrap_full(&$install_state) {
* The batch definition.
*/
function
install_profile_modules
(
&
$install_state
)
{
$modules
=
variable_get
(
'install_profile_modules'
,
array
()
);
$modules
=
state
()
->
get
(
'install_profile_modules'
)
?:
array
(
);
$files
=
system_rebuild_module_data
();
variable_del
(
'install_profile_modules'
);
state
()
->
delete
(
'install_profile_modules'
);
// Always install required modules first. Respect the dependencies between
// the 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