diff --git a/app/models/classification.rb b/app/models/classification.rb index d9a71732554..306d2717a79 100644 --- a/app/models/classification.rb +++ b/app/models/classification.rb @@ -448,9 +448,6 @@ def self.seed category.save! add_entries_from_hash(category, c[:entries]) end - - # Fix categories that have a nill parent_id - where(:parent_id => nil).update_all(:parent_id => 0) end def self.sanitize_name(name)