diff --git a/ZMySQLDA/lib/python/Products/ZMySQLDA/DA.py b/ZMySQLDA/lib/python/Products/ZMySQLDA/DA.py index 820bae1..225f780 100644 --- a/ZMySQLDA/lib/python/Products/ZMySQLDA/DA.py +++ b/ZMySQLDA/lib/python/Products/ZMySQLDA/DA.py @@ -113,7 +113,6 @@ class Connection(DABase.Connection): icon='misc_/Z%sDA/conn' % database_type manage_properties=HTMLFile('connectionEdit', globals()) - manage_main=HTMLFile('connectionStatus', globals()) def factory(self): return DB diff --git a/ZMySQLDA/lib/python/Products/ZMySQLDA/connectionStatus.dtml b/ZMySQLDA/lib/python/Products/ZMySQLDA/connectionStatus.dtml deleted file mode 100644 index 055fd9a..0000000 --- a/ZMySQLDA/lib/python/Products/ZMySQLDA/connectionStatus.dtml +++ /dev/null @@ -1,45 +0,0 @@ - - - <dtml-var title_or_id> Status - - - -

Status

- - - - - - - - - - - - - - - - - - - - - -
Id
Title
Database Connection String
-Transactions are enableddisabled.
- - The database connection is open.
-
- -
- - The database connection is not open.
-
- -
-
-
- - - diff --git a/ZMySQLDA/lib/python/Products/ZMySQLDA/db.py b/ZMySQLDA/lib/python/Products/ZMySQLDA/db.py index 93f8a4e..929d665 100644 --- a/ZMySQLDA/lib/python/Products/ZMySQLDA/db.py +++ b/ZMySQLDA/lib/python/Products/ZMySQLDA/db.py @@ -261,10 +261,10 @@ class DB(TM): self.db.query("BEGIN") self.db.store_result() - def commit(self, *ignored): + def _commit(self, *ignored): self.db.query("COMMIT") self.db.store_result() - def rollback(self, *ignored): + def _abort(self, *ignored): self.db.query("ROLLBACK") self.db.store_result()