From 5dbefbc40dadf5f407ba367cb524307011bd8f84 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 3 Dec 2012 22:33:08 +0000 Subject: [PATCH] Removed unused Redmine::About class. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10938 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine.rb | 1 - lib/redmine/about.rb | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100644 lib/redmine/about.rb diff --git a/lib/redmine.rb b/lib/redmine.rb index 94c9bdfdf..c9e8564d0 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -23,7 +23,6 @@ rescue LoadError # RMagick is not available end -require 'redmine/about' require 'redmine/access_control' require 'redmine/access_keys' require 'redmine/activity' diff --git a/lib/redmine/about.rb b/lib/redmine/about.rb deleted file mode 100644 index 0fcc29a97..000000000 --- a/lib/redmine/about.rb +++ /dev/null @@ -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