Remove dead code. ERP5Generator has its own setupDefaultSkins() (approved by jm)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29659 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7cf678e
......@@ -1292,23 +1292,6 @@ class PortalGenerator:
mp(UndoChanges, ['Owner','Manager',], 1)
mp(ViewManagementScreens, ['Owner','Manager',], 1)
def setupDefaultSkins(self, p):
from Products.CMFCore.DirectoryView import addDirectoryViews
from Products.CMFTopic import topic_globals
ps = getToolByName(p, 'portal_skins')
addDirectoryViews(ps, 'skins', globals())
addDirectoryViews(ps, 'skins', topic_globals)
ps.manage_addProduct['OFSP'].manage_addFolder(id='custom')
ps.addSkinSelection('Basic',
'custom, zpt_topic, zpt_content, zpt_generic,'
+ 'zpt_control, Images',
make_default=1)
ps.addSkinSelection('Nouvelle',
'nouvelle, custom, topic, content, generic, control, Images')
ps.addSkinSelection('No CSS',
'no_css, custom, topic, content, generic, control, Images')
p.setupCurrentSkin()
def setupTypes(self, p, initial_types=factory_type_information):
tool = getToolByName(p, 'portal_types', None)
if tool is 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