Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
qfq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
typo3
qfq
Commits
aba029f4
Commit
aba029f4
authored
Jul 28, 2020
by
Carsten Rose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
extension/Classes/External/AutoCron.php
extension/Classes/External/AutoCron.php
+7
-1
No files found.
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
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