mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Merge branch 'develop' of github.com:snipe/snipe-it into develop
This commit is contained in:
commit
73052d3fc1
|
@ -109,7 +109,7 @@ class LdapSync extends Command
|
||||||
|
|
||||||
// Delete located users from the general group.
|
// Delete located users from the general group.
|
||||||
foreach ($results as $key => $generic_entry) {
|
foreach ($results as $key => $generic_entry) {
|
||||||
if (in_array($generic_entry[$ldap_result_username][0], $location_users)) {
|
if (in_array($generic_entry[$ldap_result_username][0], $usernames)) {
|
||||||
unset($results[$key]);
|
unset($results[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue