summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2013-11-16 21:29:18 (GMT)
committercatch2013-11-16 21:29:18 (GMT)
commitac4955978466250e2cec735ea3b1c67dcebb3896 (patch)
tree2b238f72771087b58c083976e2f23b0e0a27094b
parent241348d510ae3800039f569ad749b9e0883dc44a (diff)
Issue #2137217 by aspilicious: Remove install_time() variable get usage.
-rw-r--r--core/modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 0d2dbeb..4f848ce 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.