Redmine::Scm::Base.all should return an empty array instead of nil when no SCM was added.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10945 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-12-05 22:00:02 +00:00
parent 0878be4e0c
commit 3e4b4ffd9a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module Redmine
class << self
def all
@scms
@scms || []
end
# Add a new SCM adapter and repository