X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8d823de6cf55f74d223dac4d5c11abcdcf197790..953ea32f89c36d8ee0f38c5d093fea371e635b90:/redmine/redmine_publications/app/controllers/publications_controller.rb?ds=sidebyside diff --git a/redmine/redmine_publications/app/controllers/publications_controller.rb b/redmine/redmine_publications/app/controllers/publications_controller.rb index fd623b99..c7a11948 100644 --- a/redmine/redmine_publications/app/controllers/publications_controller.rb +++ b/redmine/redmine_publications/app/controllers/publications_controller.rb @@ -14,8 +14,6 @@ class PublicationsController < ApplicationController 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)