Remove unused constant in the codebase.

This commit is contained in:
Guo Xiang Tan 2018-12-03 11:04:00 +08:00
parent 12f5889c85
commit 125bb46052
1 changed files with 0 additions and 3 deletions

View File

@ -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')