remove unused find_all_by overload

could not find any usages in core or plugins
pull/3400/head
Jan Sandbrink 9 years ago
parent dfb9a5cd20
commit 85afbf9f82
  1. 4
      app/models/user.rb

@ -491,10 +491,6 @@ class User < Principal
where(['LOWER(mail) = ?', mail.to_s.downcase]).first
end
def self.find_all_by_mails(mails)
where(['LOWER(mail) IN (?)', mails])
end
def to_s
name
end

Loading…
Cancel
Save