summaryrefslogtreecommitdiff
path: root/src/mailman/database/base.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-11-01 13:46:36 -0400
committerBarry Warsaw2014-11-01 13:46:36 -0400
commit1d9f6970b9a26ee576838b53f485b96365e3a6c2 (patch)
tree487ef693aaa944fbed0ed1c60b4b17d69a8fc445 /src/mailman/database/base.py
parent8ab9c5111a05277e185b5e038bf12e13cd6df15e (diff)
downloadmailman-1d9f6970b9a26ee576838b53f485b96365e3a6c2.tar.gz
mailman-1d9f6970b9a26ee576838b53f485b96365e3a6c2.tar.zst
mailman-1d9f6970b9a26ee576838b53f485b96365e3a6c2.zip
Diffstat (limited to 'src/mailman/database/base.py')
-rw-r--r--src/mailman/database/base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py
index 2b86899bc..55edf6005 100644
--- a/src/mailman/database/base.py
+++ b/src/mailman/database/base.py
@@ -114,9 +114,3 @@ class SABaseDatabase:
session = sessionmaker(bind=self.engine)
self.store = session()
self.store.commit()
-
- # XXX BAW Why doesn't model.py _reset() do this?
- def destroy(self):
- """Drop all database tables"""
- from mailman.database.model import Model
- Model.metadata.drop_all(self.engine)