diff options
| author | Louise Crow <louise.crow@gmail.com> | 2015-02-26 15:07:06 +0000 |
|---|---|---|
| committer | Louise Crow <louise.crow@gmail.com> | 2015-02-26 17:05:07 +0000 |
| commit | e6511423e9334973ecd8d808c3b73c1b4e312935 (patch) | |
| tree | 356f6bf2f54ef561038732dea32ceb9b3b2b7cf2 /app | |
| parent | 6096ba531e76fe0edb1e03527514f47170a50ea6 (diff) | |
Remove deprecated code. Fixes #2015.
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/public_body_category.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/public_body_category.rb b/app/models/public_body_category.rb index c313e5734..198e8b737 100644 --- a/app/models/public_body_category.rb +++ b/app/models/public_body_category.rb @@ -49,11 +49,6 @@ class PublicBodyCategory < ActiveRecord::Base PublicBodyCategory.find_by_sql(sql) end - # Called from the old-style public_body_categories_[locale].rb data files - def self.add(locale, data_list) - CategoryAndHeadingMigrator.add_categories_and_headings_from_list(locale, data_list) - end - # Convenience methods for creating/editing translations via forms def find_translation_by_locale(locale) translations.find_by_locale(locale) |
