aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/user.rb6
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?