diff --git a/app/models/user.rb b/app/models/user.rb index a62ac60d30..24aa5030fc 100644 --- a/app/models/user.rb +++ b/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