Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ac495597
Commit
ac495597
authored
Nov 16, 2013
by
catch
Browse files
Issue
#2137217
by aspilicious: Remove install_time() variable get usage.
parent
241348d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/system/system.install
View file @
ac495597
...
...
@@ -277,7 +277,7 @@ function system_requirements($phase) {
// Determine when cron last ran.
$cron_last
=
\
Drupal
::
state
()
->
get
(
'system.cron_last'
);
if
(
!
is_numeric
(
$cron_last
))
{
$cron_last
=
variable_
get
(
'install_time'
,
0
);
$cron_last
=
\
Drupal
::
state
()
->
get
(
'install_time'
,
0
);
}
// Determine severity based on time since cron last ran.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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