Commit 5c8b211c authored by Drew Blessing's avatar Drew Blessing

Revert "Merge branch 'fix_stale_last_owner' into 'master'"

This reverts merge request !529
parent 9b9a31c7
...@@ -3,9 +3,6 @@ Please view this file on the master branch, on stable branches it's out of date. ...@@ -3,9 +3,6 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.10.0 (unreleased) v 8.10.0 (unreleased)
- Rename Git Hooks to Push Rules - Rename Git Hooks to Push Rules
v 8.9.5
- Prevent stale data in LDAP group sync last owner check.
v 8.9.4 v 8.9.4
- Improve how File Lock feature works with nested items. !497 - Improve how File Lock feature works with nested items. !497
......
...@@ -304,11 +304,6 @@ module Gitlab ...@@ -304,11 +304,6 @@ module Gitlab
next next
end end
# Since we're removing users in this loop, `group.reload`
# before checking `last_owner?` to prevent stale owner information.
# Without a reload, this check would return a false negative.
group.reload
# Check and update the access level. If `desired_access` is `nil` # Check and update the access level. If `desired_access` is `nil`
# we need to delete the user from the group. # we need to delete the user from the group.
if desired_access.present? if desired_access.present?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment