mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 16:29:22 +00:00
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…
x
Reference in New Issue
Block a user