Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
47381d5d
Commit
47381d5d
authored
Jun 28, 2021
by
ludo
Browse files
shynchro ldap
parent
1922af8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/ldap/synchronizationScriptAFD.php
View file @
47381d5d
...
...
@@ -518,7 +518,7 @@ function sendDiff($xmlfile, $ldapEntities, $ldapUsers)
return
false
;
}
$finalMaarchUsers
=
\
User\models\UserModel
::
get
([
'select'
=>
[
'user_id'
,
'firstname'
,
'lastname'
,
'phone'
,
'mail'
,
'status'
]]);
$finalMaarchUsers
=
\
User\models\UserModel
::
get
([
'select'
=>
[
'user_id'
,
'firstname'
,
'lastname'
,
'phone'
,
'mail'
,
'status'
]
,
'where'
=>
[
"status not in ('DEL','SPD')"
]
]);
$finalMaarchEntities
=
\
Entity\models\EntityModel
::
get
([
'select'
=>
[
'entity_id'
,
'entity_label'
,
'short_label'
,
'entity_type'
,
'parent_entity_id'
]]);
$bodyUser
=
""
;
...
...
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