# HG changeset patch # User Chris Cannam # Date 1316448058 -3600 # Node ID 0435cf085f2895cd61772e0305cb4fec37e5da9f # Parent 3eb64cb3c7ac4f5055b0841049280817d7644c50# Parent 4903d6131c08eaaa8d3dc560590e4ad601579a28 Merge diff -r 3eb64cb3c7ac -r 0435cf085f28 vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb --- a/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb Mon Sep 19 17:00:35 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb Mon Sep 19 17:00:58 2011 +0100 @@ -1,7 +1,5 @@ class BibtexEntryType < ActiveRecord::Base - @@all_fields = [ "booktitle", "editor", "publisher", "chapter", "pages", "volume", "series", "address", "edition", "month", "year", "type", "note", "number", "journal", "howpublished", "key", "school" ] - @@fields = Hash['article', ['journal', 'year', 'volume', 'number', 'pages', 'month', 'note' ], 'book' , [ 'editor', 'publisher', 'volume', 'series', 'address', 'edition', 'month', 'year', 'note' ], 'booklet' , [ 'howpublished', 'address', 'year', 'month', 'note', 'key' ], @@ -28,8 +26,4 @@ def self.fields (type) @@fields[ self.find(type).name ] end - - def self.all_fields - @@all_fields - end end