changeset 701:4903d6131c08 feature_36

Related to the previous commit (deleted all fields BibtexEntryType class variable and getter method).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Sep 2011 16:59:22 +0100
parents c7306033ba7a
children 0435cf085f28 b6f9f005c0b6
files vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb	Mon Sep 19 16:44:43 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb	Mon Sep 19 16:59:22 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