delete entries with no feeds

This commit is contained in:
Athou
2013-07-04 21:50:39 +02:00
parent 4c1c9aef6f
commit d57a1c9e2a
3 changed files with 32 additions and 0 deletions

View File

@@ -249,6 +249,8 @@ public class AdminREST extends AbstractResourceREST {
Map<String, Long> map = Maps.newHashMap();
map.put("feeds_without_subscriptions",
cleaner.cleanFeedsWithoutSubscriptions());
map.put("entries_without_feeds",
cleaner.cleanEntriesWithoutFeeds());
return Response.ok(map).build();
}