Browse files

exclude plugins without engines extensions from plugin_migration gene…

…rator
  • Loading branch information...
1 parent 2ebb65a commit fa09539466064a87815fd278d0aff5ad9c79a88f @DerGuteMoritz DerGuteMoritz committed Sep 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/plugin_migration/plugin_migration_generator.rb
View
2 generators/plugin_migration/plugin_migration_generator.rb
@@ -48,7 +48,7 @@ def get_plugins_to_migrate(plugin_names)
end
end
- @plugins_to_migrate.reject! { |p| p.latest_migration.nil? }
+ @plugins_to_migrate.reject! { |p| !p.respond_to?(:latest_migration) || p.latest_migration.nil? }
# Then find the current versions from the database
@current_versions = {}

0 comments on commit fa09539

Please sign in to comment.