RemoveInvalidEmails: Fix quoting for postgres
Use addQuotes to quote the empty string instead of hard-coding "", which not working in postgres Change-Id: I52b79b5baf92cf50cf6edad227bcfa1abaa88aea
This commit is contained in:
parent
61dfb2d76f
commit
3f63e3d8f0
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class RemoveInvalidEmails extends Maintenance {
|
|||
[ 'user_id', 'user_email' ],
|
||||
[
|
||||
'user_id > ' . $dbr->addQuotes( $lastId ),
|
||||
'user_email != ""',
|
||||
'user_email != ' . $dbr->addQuotes( '' ),
|
||||
'user_email_authenticated IS NULL'
|
||||
],
|
||||
__METHOD__,
|
||||
|
|
|
|||
Loading…
Reference in a new issue