1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-16 20:32:54 +00:00

Reverts unwanted change (#24769).

git-svn-id: http://svn.redmine.org/redmine/trunk@16318 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-01-30 21:35:23 +00:00
parent 252804f7da
commit 7cab59d220

View File

@ -793,8 +793,6 @@ module Redmine
end
end
scope.sorted
elsif object.nil?
Principal.member_of(Project.visible.to_a).sorted.select {|p| p.is_a?(User)}
else
[]
end