no need to check for empty string
This commit is contained in:
parent
08b17e07f4
commit
7362e18fc9
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ SQL
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.has_invitation_token
|
def self.has_invitation_token
|
||||||
'`users`.`invitation_token` IS NOT NULL AND `users`.`invitation_token` != ""'
|
'`users`.`invitation_token` IS NOT NULL'
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.has_email
|
def self.has_email
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue