Skip to content

Commit

Permalink
Update xwiki-platform-core/xwiki-platform-notifications/xwiki-platfor…
Browse files Browse the repository at this point in the history
…m-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/DocumentMovedListener.java

Co-authored-by: Manuel Leduc <manuel.leduc@xwiki.com>
  • Loading branch information
surli and manuelleduc authored Feb 15, 2024
1 parent acb9123 commit ca51977
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void processLocalEvent(Event event, Object source, Object data)
// we need to iterate over all DB to ensure we properly migrate the filters.
// We could have checked the configuration of the wiki to see if they are allowed to store user or not
// but this config might have changed over time...
for (String wikiId : wikiDescriptorManager.getAllIds()) {
for (String wikiId : this.wikiDescriptorManager.getAllIds()) {
namespaceContextExecutor.execute(new WikiNamespace(wikiId), () -> {
updatePreferences(sourceLocation, targetLocation);
return null;
Expand Down

0 comments on commit ca51977

Please sign in to comment.