# HG changeset patch # User luisf # Date 1380562065 -3600 # Node ID 43b303a229e124847554b78374f967960d50c86f # Parent e2c17a09ce866e8d72335a14f8c9c010eb7d3469 Deleted more unused code. diff -r e2c17a09ce86 -r 43b303a229e1 plugins/redmine_bibliography/app/controllers/publications_controller.rb --- a/plugins/redmine_bibliography/app/controllers/publications_controller.rb Mon Sep 30 18:24:28 2013 +0100 +++ b/plugins/redmine_bibliography/app/controllers/publications_controller.rb Mon Sep 30 18:27:45 2013 +0100 @@ -199,17 +199,6 @@ end end - # parses the bibtex file - def parse_bibtex_file - - end - - def import - @publication = Publication.new - - - end - def autocomplete_for_project @publication = Publication.find(params[:id]) @@ -296,6 +285,7 @@ def destroy find_project_by_project_id + @publication.destroy flash[:notice] = "Successfully deleted Publication."