annotate plugins/redmine_checkout/lib/checkout_helper.rb @ 1350:bb6e7589720e luisf

Removes duplicate code introduced when integrating with redmine-2.2
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 12 Jul 2013 12:33:21 +0100
parents b4b72f1eb644
children
rev   line source
Chris@16 1 module CheckoutHelper
Chris@16 2 class <<self
Chris@16 3 def supported_scm
Chris@16 4 Object.const_defined?("REDMINE_SUPPORTED_SCM") ? REDMINE_SUPPORTED_SCM : Redmine::Scm::Base.all
Chris@16 5 end
Chris@16 6 end
Chris@16 7 end