Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-orchestrator
Commits
69595aa5
Verified
Commit
69595aa5
authored
8 months ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
quick backup
quick backup
parent
42a05e97
dev
61-orchestrator-lifecycle-array-supann-is-analyzed-with-static-numbering
63-orchestrator-mail-controller-format-of-mail-text-and-signature-are-not-utf8-usage-of-accents-is
70-create-unitests-for-orchestrator
73-orchestrator-create-a-librabry-in-core-orchestrator
78-redesign-audit-class
79-redesign-mail
80-redesign-notifications-class
81-redesign-reminders-class
82-redesign-lifecycle-class
main
revert-55863b23
1.1
2 merge requests
!72
Releasing Fusiondirectory Orchestrator 1.1
,
!56
Resolve "[Orchestrator] - AUDIT - automatic deletion from audit tasks"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/TaskGateway.php
+2
-1
library/TaskGateway.php
with
2 additions
and
1 deletion
+2
-1
library/TaskGateway.php
+
2
−
1
View file @
69595aa5
...
@@ -145,12 +145,13 @@ class TaskGateway
...
@@ -145,12 +145,13 @@ class TaskGateway
$this
->
unsetCountKeys
(
$tasks
);
$this
->
unsetCountKeys
(
$tasks
);
if
(
!
empty
(
$tasks
))
{
if
(
!
empty
(
$tasks
))
{
// Initiate the object webservice.
// Initiate the object webservice.
$webservice
=
new
WebServiceCall
(
$_ENV
[
'FUSION_DIRECTORY_API_URL'
]
.
'/login'
,
'POST'
);
$webservice
=
new
WebServiceCall
(
$_ENV
[
'FUSION_DIRECTORY_API_URL'
]
.
'/login'
,
'POST'
);
// Required to prepare future webservice call. E.g. Retrieval of mandatory token.
// Required to prepare future webservice call. E.g. Retrieval of mandatory token.
$webservice
->
setCurlSettings
();
$webservice
->
setCurlSettings
();
// Is used to verify cyclic schedule with date format.
// Is used to verify cyclic schedule with date format.
This use de local timezone - not UTC
$now
=
new
DateTime
(
'now'
);
$now
=
new
DateTime
(
'now'
);
foreach
(
$tasks
as
$task
)
{
foreach
(
$tasks
as
$task
)
{
...
...
This diff is collapsed.
Click to expand it.
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets