diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/concerns/translatable.rb | 6 | ||||
-rw-r--r-- | app/models/user.rb | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/app/models/concerns/translatable.rb b/app/models/concerns/translatable.rb index bc89e4c3b..2aa4620d0 100644 --- a/app/models/concerns/translatable.rb +++ b/app/models/concerns/translatable.rb @@ -29,12 +29,6 @@ module Translatable end end - def translated_versions=(translation_attrs) - warn "[DEPRECATION] #{self.class.name}#translated_versions= will be replaced " \ - "by #{self.class.name}#translations_attributes= as of release 0.22" - self.translations_attributes = translation_attrs - end - private def empty_translation_in_params?(attributes) diff --git a/app/models/user.rb b/app/models/user.rb index d50000aba..8c9e3c453 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -304,12 +304,6 @@ class User < ActiveRecord::Base !ban_text.empty? end - def public_banned? - warn %q([DEPRECATION] User#public_banned? will be replaced with - User#banned? as of 0.22).squish - banned? - end - # Various ways the user can be banned, and text to describe it if failed def can_file_requests? ban_text.empty? && !exceeded_limit? |