diff options
-rw-r--r-- | app/models/public_body.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb index d11ed683a..5077b2c43 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -694,6 +694,9 @@ class PublicBody < ActiveRecord::Base return bodies end + # Methods to privatise + # -------------------------------------------------------------------------- + # TODO: This could be removed by updating the default value (to '') of the # `publication_scheme` column in the `public_body_translations` table. # @@ -709,6 +712,9 @@ class PublicBody < ActiveRecord::Base self.publication_scheme = "" if publication_scheme.nil? end + # Methods to remove + # -------------------------------------------------------------------------- + # Set the first letter on a public body or translation def self.set_first_letter(instance) warn %q([DEPRECATION] PublicBody.set_first_letter will be removed |