Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates-3239673
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
automatic_updates-3239673
Commits
ee3f9413
Commit
ee3f9413
authored
5 years ago
by
Lucas Hedding
Committed by
Lucas Hedding
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3097808
by heddn, jfhovinne: "Readiness checks were last run 49 years 11 months ago"
parent
ff8a0384
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ReadinessCheckers/ReadinessCheckerManager.php
+5
-1
5 additions, 1 deletion
ReadinessCheckers/ReadinessCheckerManager.php
with
5 additions
and
1 deletion
ReadinessCheckers/ReadinessCheckerManager.php
+
5
−
1
View file @
ee3f9413
...
...
@@ -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
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment