Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
automatic_updates-3242724
Commits
3f4bfbce
Commit
3f4bfbce
authored
Dec 05, 2019
by
Lucas Hedding
Committed by
Lucas Hedding
Dec 05, 2019
Browse files
Issue
#3097808
by heddn: "Readiness checks were last run 49 years 11 months ago"
parent
7512a3e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ReadinessChecker/ReadinessCheckerManager.php
View file @
3f4bfbce
...
...
@@ -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
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment