Commit 7a26d842 by Bryton Lacquement

patches/CMFCoreSkinnable: do not use getSkinsFolderName

It is no longer supported in CMF 2.3, see Products.CMFCore
754894460271f8562d03e8c51e6efcee7223a3ba.
1 parent 2d8682ae
......@@ -141,11 +141,9 @@ def CMFCoreSkinnableSkinnableObjectManager_changeSkin(self, skinname, REQUEST=No
Patched not to call getSkin.
'''
if skinname is None:
sfn = self.getSkinsFolderName()
if sfn is not None:
sf = getattr(self, sfn, None)
if sf is not None:
skinname = sf.getDefaultSkin()
sf = getattr(self, "portal_skins", None)
if sf is not None:
skinname = sf.getDefaultSkin()
tid = get_ident()
SKINDATA[tid] = (
None,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!