Commit 7215516c authored by jplang's avatar jplang
Browse files

Reset #roles on reload (#23519).

git-svn-id: https://svn.redmine.org/redmine/trunk@16154 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 96c31c34
......@@ -162,6 +162,7 @@ class User < Principal
alias :base_reload :reload
def reload(*args)
@name = nil
@roles = nil
@projects_by_role = nil
@project_ids_by_role = nil
@membership_by_project_id = nil
......
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