diff backend/sqlalchemy/SqlAlchemyBackend.py @ 125:514e5d7dca98 backend

deleting a feed is now done via the backend
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 22 Aug 2011 11:22:45 +0200
parents a4b2077c9603
children 089ee60b28fb
line wrap: on
line diff
--- a/backend/sqlalchemy/SqlAlchemyBackend.py	Mon Aug 22 11:02:53 2011 +0200
+++ b/backend/sqlalchemy/SqlAlchemyBackend.py	Mon Aug 22 11:22:45 2011 +0200
@@ -52,6 +52,10 @@
         feed.incrementNextUpdateDate()
         self.session.commit()
 
+    def deleteFeed(self, feed):
+        self.session.delete(feed)
+        self.session.commit()
+
     def dispose(self):
         # save all uncommitted state, just in case
         self.session.commit()