diff --git a/app/models/user.rb b/app/models/user.rb index 92ae57dd0a9..2bef343009d 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -221,7 +221,6 @@ class User < ActiveRecord::Base scope :not_suspended, -> { where('suspended_till IS NULL OR suspended_till <= ?', Time.zone.now) } scope :activated, -> { where(active: true) } scope :not_staged, -> { where(staged: false) } - scope :activated_not_suspended_not_staged, -> { self.activated.not_suspended.not_staged } scope :filter_by_username, ->(filter) do if filter.is_a?(Array)