Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,11 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface { ...@@ -94,7 +94,11 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function timestamp() { 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;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment