Commit ee3f9413 authored by Lucas Hedding's avatar Lucas Hedding Committed by Lucas Hedding
Browse files

Issue #3097808 by heddn, jfhovinne: "Readiness checks were last run 49 years 11 months ago"

parent ff8a0384
......@@ -84,7 +84,11 @@ class ReadinessCheckerManager {
* {@inheritdoc}
*/
public static function timestamp() {
return variable_get('automatic_updates.readiness_check_timestamp', 0);
$last_check_timestamp = variable_get('automatic_updates.readiness_check_timestamp');
if (!is_numeric($last_check_timestamp)) {
$last_check_timestamp = variable_get('install_time', 0);
}
return $last_check_timestamp;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment