Skip to content
Snippets Groups Projects
Commit 8d75058c authored by Lucas Hedding's avatar Lucas Hedding Committed by Lucas Hedding
Browse files

Issue #3061238 by heddn: PhpSapi checker doesn't set current PHP_SAPI to state

parent e467b20d
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ class PhpSapi implements ReadinessCheckerInterface {
if ($php_sapi !== PHP_SAPI) {
$messages[] = $this->t('PHP changed from running as "@previous" to "@current". This can lead to inconsistent and misleading results.', ['@previous' => $php_sapi, '@current' => PHP_SAPI]);
}
$this->state->set('automatic_updates.php_sapi', PHP_SAPI);
return $messages;
}
......
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