summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-01-19 14:08:12 (GMT)
committerAlex Pott2016-01-19 14:08:12 (GMT)
commitdee4b3f0357bf708acda020dc65985248032382c (patch)
tree065fc437021743081a6204560e5d49dd7884c1f1
parent474fc009129c96bb470fc4f5b18dff6adcba9ea1 (diff)
Issue #2648198 by pfrenssen: Remove unused argument $install_state in drupal_check_profile()
-rw-r--r--core/includes/install.core.inc2
-rw-r--r--core/includes/install.inc4
2 files changed, 2 insertions, 4 deletions
diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc
index cadc061..ffe27e0 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 c9fd75d..bae87d7 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.