mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
delete relationships before deleting the feed reference
This commit is contained in:
@@ -79,6 +79,7 @@ public class DatabaseCleaner {
|
||||
sub.setFeed(into);
|
||||
}
|
||||
feedSubscriptionDAO.saveOrUpdate(subs);
|
||||
feedDAO.deleteRelationships(feed);
|
||||
feedDAO.delete(feed);
|
||||
}
|
||||
feedDAO.saveOrUpdate(into);
|
||||
|
||||
Reference in New Issue
Block a user