Skip to content
Snippets Groups Projects
Commit dee4b3f0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2648198 by pfrenssen: Remove unused argument $install_state in drupal_check_profile()

parent 474fc009
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment