Skip to content

A free open source IT asset/license management system

Updated comment

snipe052f1820a987
diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php
index 201a06a8dc..12cf3340e5 100644
--- a/app/Console/Commands/LdapSync.php
+++ b/app/Console/Commands/LdapSync.php
@@ -439,10 +439,7 @@ class LdapSync extends Command
// can't call User::isDeletable() directly here because
// it wraps a Gate::allows('delete', $user) check that
// needs an authenticated web-session user, and this
- // command runs from cron with no such user. The
- // association-blocker half is what's actually load-
- // bearing for "safe to delete" and is shared via the
- // hasNoAssignmentBlockers() helper on User.
+ // command runs from cron with no such user
$is_deletable = $missing_user->hasNoAssignmentBlockers();
$missing_item = [