Commit 3f4bfbce authored by Lucas Hedding's avatar Lucas Hedding Committed by Lucas Hedding
Browse files

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

parent 7512a3e9
......@@ -94,7 +94,11 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface {
* {@inheritdoc}
*/
public function timestamp() {
return $this->keyValue->get('readiness_check_timestamp', 0);
$last_check_timestamp = $this->keyValue->get('readiness_check_timestamp');
if (!is_numeric($last_check_timestamp)) {
$last_check_timestamp = \Drupal::state()->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