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
e83f6afd
Verified
Commit
e83f6afd
authored
6 months ago
by
dockx thibault
Browse files
Options
Download
Patches
Plain Diff
Feat(Orchestrator) - phpcs
phpcs
parent
e8e8dcce
dev
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
,
!61
Resolve "[Orchestrator] - New endpoint for userReminder allowing to send notification to use with token to extend their account longevity"
Pipeline
#30496
failed with stages
in 1 minute and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Reminder.php
+1
-2
plugins/tasks/Reminder.php
with
1 addition
and
2 deletions
+1
-2
plugins/tasks/Reminder.php
+
1
−
2
View file @
e83f6afd
...
@@ -508,7 +508,6 @@ class Reminder implements EndpointInterface
...
@@ -508,7 +508,6 @@ class Reminder implements EndpointInterface
*/
*/
private
function
getMonitoredResources
(
array
$remindersMainTask
):
array
private
function
getMonitoredResources
(
array
$remindersMainTask
):
array
{
{
$monitoredResourcesArray
=
[
$monitoredResourcesArray
=
[
'resource'
=>
$remindersMainTask
[
'fdtasksreminderresource'
],
'resource'
=>
$remindersMainTask
[
'fdtasksreminderresource'
],
'state'
=>
$remindersMainTask
[
'fdtasksreminderstate'
],
'state'
=>
$remindersMainTask
[
'fdtasksreminderstate'
],
...
@@ -556,7 +555,7 @@ class Reminder implements EndpointInterface
...
@@ -556,7 +555,7 @@ class Reminder implements EndpointInterface
if
(
!
empty
(
$dnSupann
[
'supannressourceetat'
]))
{
if
(
!
empty
(
$dnSupann
[
'supannressourceetat'
]))
{
// Simply iterate within the resource available till a match is found.
// Simply iterate within the resource available till a match is found.
foreach
(
$dnSupann
[
'supannressourceetat'
]
as
$resource
)
{
foreach
(
$dnSupann
[
'supannressourceetat'
]
as
$resource
)
{
if
(
$monitoredSupannState
===
$resource
)
{
if
(
$monitoredSupannState
===
$resource
)
{
$result
=
TRUE
;
$result
=
TRUE
;
break
;
break
;
...
...
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