MDL-50921 message: allow popup messages from noreply user

Thanks Gary Harris for the patch
This commit is contained in:
Marina Glancy 2015-08-11 13:29:58 +08:00 committed by Ryan Wyllie
parent e28004e614
commit bec7e6dcb0

View File

@ -8593,7 +8593,6 @@ function message_popup_window() {
FROM {message} m
JOIN {message_working} mw ON m.id=mw.unreadmessageid
JOIN {message_processors} p ON mw.processorid=p.id
JOIN {user} u ON m.useridfrom=u.id
LEFT JOIN {message_contacts} c ON c.contactid = m.useridfrom
AND c.userid = m.useridto
WHERE m.useridto = :userid