Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
aba029f4
Commit
aba029f4
authored
Jul 28, 2020
by
Carsten Rose
Browse files
Fixes #10919. fillStoreSystemBySql() will now be called after initialisation.
parent
5d18e79d
Pipeline
#3676
passed with stages
in 5 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/External/AutoCron.php
View file @
aba029f4
...
...
@@ -50,6 +50,7 @@ class AutoCron {
/**
* AutoCron constructor.
*
* @param bool $verbose
* @param bool $phpUnit
* @throws \CodeException
...
...
@@ -68,6 +69,7 @@ class AutoCron {
// set_error_handler("\\IMATHUZH\\Qfq\\Core\\Exception\\ErrorHandler::exception_error_handler");
$this
->
store
=
Store
::
getInstance
();
$this
->
store
->
FillStoreSystemBySql
();
// Do this after the DB-update
// Set Log Mode for AutoCron updates
$sqlLogMode
=
$this
->
store
->
getVar
(
SYSTEM_SQL_LOG_MODE_AUTOCRON
,
STORE_SYSTEM
);
...
...
@@ -81,7 +83,7 @@ class AutoCron {
}
/**
* Check if there are started cronJobs, older than $ageMaxMinutes
* Check if there are started cronJobs, older than $ageMaxMinutes
.
*
* @param int $ageMaxMinutes
*
...
...
@@ -102,6 +104,8 @@ class AutoCron {
}
/**
* Check if $job has expired. If yes, calculate next run and set $job[AUTOCRON_NEXT_RUN].
*
* @param array $job
*
* @return array
...
...
@@ -199,6 +203,8 @@ class AutoCron {
}
/**
* Fill all necessary elements.
*
* @param array $mailEntry
*
* @return array
...
...
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