Commit 76286427 authored by Robert Speicher's avatar Robert Speicher

Resolve app/models/user.rb

parent bcdc9410
...@@ -21,11 +21,8 @@ class User < ActiveRecord::Base ...@@ -21,11 +21,8 @@ class User < ActiveRecord::Base
include WithUploads include WithUploads
include OptionallySearch include OptionallySearch
include FromUnion include FromUnion
<<<<<<< HEAD
prepend EE::User prepend EE::User
=======
>>>>>>> upstream/master
DEFAULT_NOTIFICATION_LEVEL = :participating DEFAULT_NOTIFICATION_LEVEL = :participating
...@@ -367,13 +364,10 @@ class User < ActiveRecord::Base ...@@ -367,13 +364,10 @@ class User < ActiveRecord::Base
emails = emails.confirmed if confirmed emails = emails.confirmed if confirmed
from_union([users, emails]) from_union([users, emails])
<<<<<<< HEAD
end end
def existing_member?(email) def existing_member?(email)
User.where(email: email).any? || Email.where(email: email).any? User.where(email: email).any? || Email.where(email: email).any?
=======
>>>>>>> upstream/master
end end
def filter(filter_name) def filter(filter_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment