mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove incorrect comment.
This commit is contained in:
parent
8fb61cf5f8
commit
c4f11de90d
|
@ -219,7 +219,7 @@ class LdapSync extends Command
|
||||||
if($item['manager'] != null) {
|
if($item['manager'] != null) {
|
||||||
// Get the LDAP Manager
|
// Get the LDAP Manager
|
||||||
try {
|
try {
|
||||||
$ldap_manager = Ldap::findLdapUsers($item['manager'], -1, $this->option('filter')); // *THIS* call might be messing us up, somehow? Like, maybe breaking pagination or something?
|
$ldap_manager = Ldap::findLdapUsers($item['manager'], -1, $this->option('filter'));
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
\Log::warn("Manager lookup caused an exception: ".$e->getMessage().". Falling back to direct username lookup");
|
\Log::warn("Manager lookup caused an exception: ".$e->getMessage().". Falling back to direct username lookup");
|
||||||
// Hail-mary for Okta manager 'shortnames' - will only work if
|
// Hail-mary for Okta manager 'shortnames' - will only work if
|
||||||
|
|
Loading…
Reference in a new issue