diff options
author | Gareth Rees <gareth@mysociety.org> | 2015-06-23 15:14:56 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2015-06-23 15:14:56 +0100 |
commit | 297df770136537eeed38d3449b672dcb4199da02 (patch) | |
tree | 06a5c42e5feae3357638987f4f9d8ed8d6d4570d | |
parent | 57ccee4ac01f80f5dd1c3691a0ed4f6102b92978 (diff) |
Remove deprecated User#public_banned?
Use User#banned?
-rw-r--r-- | app/models/user.rb | 6 |
1 files changed, 0 insertions, 6 deletions
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? |