Commit 1472c7e9 authored by Julien Muchembled's avatar Julien Muchembled

ZMySQLDA: fix copy & paste of deferred connection

parent 5095d9be
......@@ -194,12 +194,6 @@ m.DeferredConnection = DeferredConnection
del m
meta_types=(
{'name':'Z %s Database Connection' % database_type,
'action':'manage_addZ%sConnectionForm' % database_type,
},
)
folder_methods={
'manage_addZMySQLConnection':
manage_addZMySQLConnection,
......
......@@ -96,7 +96,7 @@ def initialize(context):
context.registerClass(
DA.Connection,
permission='Add Z MySQL Database Connections',
constructors=(DA.manage_addZMySQLConnectionForm,
DA.manage_addZMySQLConnection),
)
context.registerClass(DA.DeferredConnection, visibility=None)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment