]> source.dussan.org Git - redmine.git/commit
Speeds up Project.allowed_to_condition for users who belong to hundreds of projects.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 3 Jan 2017 20:53:57 +0000 (20:53 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 3 Jan 2017 20:53:57 +0000 (20:53 +0000)
commit98f8a17851d55bc9cbdadfc40329c626178b5c0d
tree6585de5a35c339ecec426fbccc69c352fea1f8a6
parentf8df935dcada4c45eb09e7f9c7044a54db198d9c
Speeds up Project.allowed_to_condition for users who belong to hundreds of projects.

git-svn-id: http://svn.redmine.org/redmine/trunk@16124 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/project.rb
app/models/user.rb