diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 0d2dbebb5f01cdf9e847a61aaab3660fe2436d40..4f848ce9b19019de9b9f3397f330c5abaed64acd 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -277,7 +277,7 @@ function system_requirements($phase) { // Determine when cron last ran. $cron_last = \Drupal::state()->get('system.cron_last'); if (!is_numeric($cron_last)) { - $cron_last = variable_get('install_time', 0); + $cron_last = \Drupal::state()->get('install_time', 0); } // Determine severity based on time since cron last ran.