Browse Source

copy everything app-related that is owned bt the account

tags/v0.6.0
Jonathan Cobb 5 years ago
parent
commit
ebd8f3dd7b
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java

+ 0
- 1
bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java View File

@@ -127,7 +127,6 @@ public abstract class EntityIterator implements Iterator<Identifiable> {
} else if (planApps != null && AppTemplateEntity.class.isAssignableFrom(c)) {
// only copy app-related entities for enabled apps, make them all templates
entities.stream()
.filter(e -> planAppEnabled(((AppTemplateEntity) e).getApp(), planApps))
.map(app -> (AppTemplateEntity) ((AppTemplateEntity) app).setTemplate(true))
.forEach(this::add);



Loading…
Cancel
Save