commit cad81f8137eb7d592f4b5fb79302807acece1d8f Author: Miro Dietiker Date: Mon Nov 5 00:47:20 2012 +0100 Moved to state. diff --git a/core/includes/update.inc b/core/includes/update.inc index ec21aca..16894c3 100644 --- a/core/includes/update.inc +++ b/core/includes/update.inc @@ -496,9 +496,11 @@ function update_prepare_d8_language() { function update_fix_d8_requirements() { global $conf; - if (drupal_get_installed_schema_version('system') < 8000 && !update_variable_get('update_d8_requirements', FALSE)) { - // @todo: Make critical, first-run changes to the database here. - update_variable_set('update_d8_requirements', TRUE); + $update_d8_requirements = state()->get('update_d8_requirements') ?: FALSE; + if (drupal_get_installed_schema_version('system') < 8000 && !$update_d8_requirements) { + // @todo: Make critical, first-run changes to the database here. + state()->set('update_d8_requirements', TRUE); + } } }