Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove unneeded user name reset here as well

Klaus Zanders2c7f021a18f9
diff --git a/app/models/user.rb b/app/models/user.rb
index 4ace62195fd..131d2f0e59a 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -176,17 +176,6 @@ class User < Principal
end
end
- def reload(*args)
-<<<<<<< HEAD
- @user_allowed_service = nil
- @project_role_cache = nil
-=======
- @name = nil
->>>>>>> 088d0fb8ef (Extract all permission related methods into User::PermissionChecks concern)
-
- super
- end
-
def mail=(arg)
write_attribute(:mail, arg.to_s.strip)
end