Skip to content
Snippets Groups Projects
Commit 1473a45f authored by Simon Urli's avatar Simon Urli
Browse files

XWIKI-17067 send notifications only to active users

  * Fix checkstyle
parent c8934909
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,8 @@ public class NotificationUserIterator implements Iterator<DocumentReference>
*/
// TODO: try with the solution suggested by Sergiu Dumitriu there: https://jira.xwiki.org/browse/XWIKI-14914
private static final String XWQL_QUERY = "select distinct doc.fullName from Document doc, "
+ "doc.object(XWiki.XWikiUsers) objUser where objUser.active = 1 and length(objUser.email) > 0 order by doc.fullName";
+ "doc.object(XWiki.XWikiUsers) objUser where objUser.active = 1 and length(objUser.email) > 0 "
+ "order by doc.fullName";
@Inject
private QueryManager queryManager;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment