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,14 +248,14 @@ class ApplicationManager(Folder, CacheManager):
"""
__roles__ = ('Manager',)
isPrincipiaFolderish = 1
Database = DatabaseChooser('Database') #DatabaseManager()
Database = DatabaseChooser('Database') # DatabaseManager()
DebugInfo = DebugManager()
DavLocks = DavLockManager()
manage = manage_main = DTMLFile('dtml/cpContents', globals())
manage_main._setName('manage_main')
_objects=(
_objects = (
{'id': 'Database',
'meta_type': Database.meta_type},
{'id': 'DavLocks',
......@@ -264,10 +264,7 @@ class ApplicationManager(Folder, CacheManager):
'meta_type': DebugInfo.meta_type},
)
manage_options=(
({'label':'Contents', 'action':'manage_main'}, ) +
UndoSupport.manage_options
)
manage_options = ({'label': 'Control Panel', 'action': 'manage_main'}, )
id = '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