Commit e5df66e1 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fj-fixed-bug-17054' into 'master'

Fixed bug with the user synced attributes when the user doesn't exist

See merge request gitlab-org/gitlab-ce!17152
parents 15b63e15 a7ac4580
...@@ -224,7 +224,7 @@ module Gitlab ...@@ -224,7 +224,7 @@ module Gitlab
end end
def clear_user_synced_attributes_metadata def clear_user_synced_attributes_metadata
gl_user.user_synced_attributes_metadata&.destroy gl_user&.user_synced_attributes_metadata&.destroy
end end
def log def log
......
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