Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't erase old publcations, so that the relations don't disappear.

  • Loading branch information...
commit ccb1e62c8f84e8400ada4a5944e5a3eaeb7eb750 1 parent 2c8ba66
@lqc lqc authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  app/controllers/publications_controller.rb
View
2  app/controllers/publications_controller.rb
@@ -14,8 +14,6 @@ def index
def refresh
regexp = Regexp.new(Setting.plugin_redmine_publications[:pattern])
- Publication.delete_all()
-
repo = Repository.find(:first, :conditions => ['project_id = ?', Setting.plugin_redmine_publications[:project]] )
Rails.logger.info('[INFO] Importing changes from ' << repo.url)
Please sign in to comment.
Something went wrong with that request. Please try again.