mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-27 19:21:11 +00:00
remove spaces inside {} of app/models/repository.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20064 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
02c047c336
commit
97ffc818e8
@ -441,7 +441,7 @@ class Repository < ActiveRecord::Base
|
|||||||
if username = authors_names[element.user_id.to_i]
|
if username = authors_names[element.user_id.to_i]
|
||||||
mapped_name = username
|
mapped_name = username
|
||||||
end
|
end
|
||||||
hash[mapped_name] ||= { :commits_count => 0, :changes_count => 0 }
|
hash[mapped_name] ||= {:commits_count => 0, :changes_count => 0}
|
||||||
if element.is_a?(Changeset)
|
if element.is_a?(Changeset)
|
||||||
hash[mapped_name][:commits_count] += element.count.to_i
|
hash[mapped_name][:commits_count] += element.count.to_i
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user