remove unneeded Relation#all from Repository::Subversion model

git-svn-id: http://svn.redmine.org/redmine/trunk@12730 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-27 02:18:47 +00:00
parent b6f066ddf3
commit 8832cca13b
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class Repository::Subversion < Repository
if identifiers.any?
changesets_by_identifier =
changesets.where(:revision => identifiers).
includes(:user, :repository).all.group_by(&:revision)
includes(:user, :repository).group_by(&:revision)
entries_with_identifier.each do |entry|
if m = changesets_by_identifier[entry.lastrev.identifier]
entry.changeset = m.first