diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index cadc061c73218e2440d31e9988d4fc781c8e7e36..ffe27e0c43ed3162e0a445b55453f3ceec10fcf2 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1961,7 +1961,7 @@ function install_check_requirements($install_state) { $profile = $install_state['parameters']['profile']; // Check the profile requirements. - $requirements = drupal_check_profile($profile, $install_state); + $requirements = drupal_check_profile($profile); if ($install_state['settings_verified']) { return $requirements; diff --git a/core/includes/install.inc b/core/includes/install.inc index c9fd75d211e160f0da88e88632b86cfcc4c2bc9b..bae87d7699de26c2cd808c7e7e35c6e23e593896 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -921,13 +921,11 @@ function drupal_requirements_url($severity) { * * @param string $profile * Name of installation profile to check. - * @param array $install_state - * The current state in the install process. * * @return array * Array of the installation profile's requirements. */ -function drupal_check_profile($profile, array $install_state) { +function drupal_check_profile($profile) { $info = install_profile_info($profile); // Collect requirement testing results.