Revert has_parent? optimization
This reverts optimization made in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17749 The reason is that at the moment parent_id reference integrity is not assured and a couple of errors were reported when the referenced parent was actually missing.
Showing
Please register or sign in to comment