Removed unused Redmine::About class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10938 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
46fe61d51e
commit
5dbefbc40d
|
@ -23,7 +23,6 @@ rescue LoadError
|
||||||
# RMagick is not available
|
# RMagick is not available
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'redmine/about'
|
|
||||||
require 'redmine/access_control'
|
require 'redmine/access_control'
|
||||||
require 'redmine/access_keys'
|
require 'redmine/access_keys'
|
||||||
require 'redmine/activity'
|
require 'redmine/activity'
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
module Redmine
|
|
||||||
class About
|
|
||||||
def self.print_plugin_info
|
|
||||||
plugins = Redmine::Plugin.registered_plugins
|
|
||||||
|
|
||||||
if !plugins.empty?
|
|
||||||
column_with = plugins.map {|internal_name, plugin| plugin.name.length}.max
|
|
||||||
puts "\nAbout your Redmine plugins"
|
|
||||||
|
|
||||||
plugins.each do |internal_name, plugin|
|
|
||||||
puts sprintf("%-#{column_with}s %s", plugin.name, plugin.version)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in New Issue