summaryrefslogtreecommitdiffstats
path: root/lib/tasks/migrate_plugins.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/migrate_plugins.rake')
-rw-r--r--lib/tasks/migrate_plugins.rake15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/tasks/migrate_plugins.rake b/lib/tasks/migrate_plugins.rake
deleted file mode 100644
index 0516d8306..000000000
--- a/lib/tasks/migrate_plugins.rake
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace :db do
- desc 'Migrates installed plugins.'
- task :migrate_plugins => :environment do
- if Rails.respond_to?('plugins')
- Rails.plugins.each do |plugin|
- next unless plugin.respond_to?('migrate')
- puts "Migrating #{plugin.name}..."
- plugin.migrate
- end
- else
- puts "Undefined method plugins for Rails!"
- puts "Make sure engines plugin is installed."
- end
- end
-end