Commit 30fed2c1 authored by Hanno Schlichting's avatar Hanno Schlichting

Remove Undo tab from control panel ZMI screen.

This is no longer a persistent object.
parent b2a81901
...@@ -248,26 +248,23 @@ class ApplicationManager(Folder, CacheManager): ...@@ -248,26 +248,23 @@ class ApplicationManager(Folder, CacheManager):
""" """
__roles__ = ('Manager',) __roles__ = ('Manager',)
isPrincipiaFolderish = 1 isPrincipiaFolderish = 1
Database = DatabaseChooser('Database') #DatabaseManager() Database = DatabaseChooser('Database') # DatabaseManager()
DebugInfo = DebugManager() DebugInfo = DebugManager()
DavLocks = DavLockManager() DavLocks = DavLockManager()
manage = manage_main = DTMLFile('dtml/cpContents', globals()) manage = manage_main = DTMLFile('dtml/cpContents', globals())
manage_main._setName('manage_main') manage_main._setName('manage_main')
_objects=( _objects = (
{'id': 'Database', {'id': 'Database',
'meta_type': Database.meta_type}, 'meta_type': Database.meta_type},
{'id': 'DavLocks', {'id': 'DavLocks',
'meta_type': DavLocks.meta_type}, 'meta_type': DavLocks.meta_type},
{'id': 'DebugInfo', {'id': 'DebugInfo',
'meta_type': DebugInfo.meta_type}, 'meta_type': DebugInfo.meta_type},
) )
manage_options=( manage_options = ({'label': 'Control Panel', 'action': 'manage_main'}, )
({'label':'Contents', 'action':'manage_main'}, ) +
UndoSupport.manage_options
)
id = 'Control_Panel' id = 'Control_Panel'
name = title = 'Control Panel' name = title = 'Control Panel'
......
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