Remove unused constant in the codebase.
This commit is contained in:
parent
12f5889c85
commit
125bb46052
|
@ -166,9 +166,6 @@ class Invite < ActiveRecord::Base
|
|||
group_ids
|
||||
end
|
||||
|
||||
INVITE_ORDER = <<~SQL
|
||||
SQL
|
||||
|
||||
def self.find_all_invites_from(inviter, offset = 0, limit = SiteSetting.invites_per_page)
|
||||
Invite.where(invited_by_id: inviter.id)
|
||||
.where('invites.email IS NOT NULL')
|
||||
|
|
Loading…
Reference in New Issue