Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
exclude plugins without engines extensions from plugin_migration gene…
Browse files Browse the repository at this point in the history
…rator
  • Loading branch information
DerGuteMoritz committed Sep 2, 2009
1 parent 2ebb65a commit fa09539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/plugin_migration/plugin_migration_generator.rb
Expand Up @@ -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 = {}
Expand Down

0 comments on commit fa09539

Please sign in to comment.