diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-03 08:12:01 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-03 08:12:01 +0000 |
commit | 15795c438552db73802f06902648135c00cc9d06 (patch) | |
tree | b6fc51277151320462f8364c690889af6d007a2c /app/models/repository.rb | |
parent | e33ce24849431eacdbcbbb6d83599323da63a6f1 (diff) | |
download | redmine-15795c438552db73802f06902648135c00cc9d06.tar.gz redmine-15795c438552db73802f06902648135c00cc9d06.zip |
scm: model: add method to switch revision graph support or not and set default false (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7716 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 15bfee64c..2cd5c8820 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -108,6 +108,10 @@ class Repository < ActiveRecord::Base false end + def supports_revision_graph? + false + end + def entry(path=nil, identifier=nil) scm.entry(path, identifier) end |