Commit a58677f0 authored by Emma's avatar Emma 🦉

fix global ban page breakage

parent b9d748b9
Pipeline #55231672 passed with stages
in 13 minutes and 51 seconds
......@@ -204,8 +204,7 @@ class UserRepository extends ServiceEntityRepository implements UserLoaderInterf
'SELECT ip FROM comments WHERE user_id = :id AND ip IS NOT NULL UNION ALL '.
'SELECT ip FROM submission_votes WHERE user_id = :id AND ip IS NOT NULL UNION ALL '.
'SELECT ip FROM comment_votes WHERE user_id = :id AND ip IS NOT NULL UNION ALL '.
'SELECT ip FROM message_threads WHERE sender_id = :id AND ip IS NOT NULL UNION ALL '.
'SELECT ip FROM message_replies WHERE sender_id = :id AND ip IS NOT NULL'.
'SELECT ip FROM messages WHERE sender_id = :id AND ip IS NOT NULL'.
') q';
$sth = $this->_em->getConnection()->prepare($sql);
......
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