remove unneeded Relation#all from Repository::Mercurial#latest_changesets
git-svn-id: http://svn.redmine.org/redmine/trunk@12562 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5315943bb9
commit
1ddabbc874
|
@ -95,9 +95,8 @@ class Repository::Mercurial < Repository
|
|||
changesets.
|
||||
includes(:user).
|
||||
where(latest_changesets_cond(path, rev, limit)).
|
||||
limit(limit).
|
||||
order("#{Changeset.table_name}.id DESC").
|
||||
all
|
||||
limit(limit)
|
||||
end
|
||||
|
||||
def latest_changesets_cond(path, rev, limit)
|
||||
|
|
Loading…
Reference in New Issue