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
ef538383
Commit
ef538383
authored
Dec 22, 2014
by
alexpott
Browse files
Issue
#2213941
by sun, swentel: install_no_profile_error() called but does not exist
parent
09b496ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/install.inc
View file @
ef538383
...
...
@@ -552,13 +552,7 @@ function install_ensure_config_directory($type) {
* The list of modules to install.
*/
function
drupal_verify_profile
(
$install_state
)
{
include_once
__DIR__
.
'/file.inc'
;
include_once
__DIR__
.
'/common.inc'
;
$profile
=
$install_state
[
'parameters'
][
'profile'
];
if
(
!
isset
(
$profile
)
||
!
isset
(
$install_state
[
'profiles'
][
$profile
]))
{
throw
new
Exception
(
install_no_profile_error
());
}
$info
=
$install_state
[
'profile_info'
];
// Get the list of available modules for the selected installation profile.
...
...
@@ -923,12 +917,6 @@ function drupal_requirements_url($severity) {
* Array of the installation profile's requirements.
*/
function
drupal_check_profile
(
$profile
,
array
$install_state
)
{
include_once
__DIR__
.
'/file.inc'
;
if
(
!
isset
(
$profile
)
||
!
isset
(
$install_state
[
'profiles'
][
$profile
]))
{
throw
new
Exception
(
install_no_profile_error
());
}
$info
=
install_profile_info
(
$profile
);
// Collect requirement testing results.
...
...
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