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 ...@@ -194,12 +194,6 @@ m.DeferredConnection = DeferredConnection
del m del m
meta_types=(
{'name':'Z %s Database Connection' % database_type,
'action':'manage_addZ%sConnectionForm' % database_type,
},
)
folder_methods={ folder_methods={
'manage_addZMySQLConnection': 'manage_addZMySQLConnection':
manage_addZMySQLConnection, manage_addZMySQLConnection,
......
...@@ -96,7 +96,7 @@ def initialize(context): ...@@ -96,7 +96,7 @@ def initialize(context):
context.registerClass( context.registerClass(
DA.Connection, DA.Connection,
permission='Add Z MySQL Database Connections',
constructors=(DA.manage_addZMySQLConnectionForm, constructors=(DA.manage_addZMySQLConnectionForm,
DA.manage_addZMySQLConnection), 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