Remove duplicated scope.

This commit is contained in:
Guo Xiang Tan 2017-09-05 09:14:35 +08:00
parent 51ffbf1c1f
commit 7786c6c6f2
1 changed files with 0 additions and 2 deletions

View File

@ -139,8 +139,6 @@ class User < ActiveRecord::Base
ucf.value::int > 0 ucf.value::int > 0
)', 'master_id') } )', 'master_id') }
scope :staff, -> { where("admin OR moderator") }
# TODO-PERF: There is no indexes on any of these # TODO-PERF: There is no indexes on any of these
# and NotifyMailingListSubscribers does a select-all-and-loop # and NotifyMailingListSubscribers does a select-all-and-loop
# may want to create an index on (active, blocked, suspended_till)? # may want to create an index on (active, blocked, suspended_till)?