[CMF-checkins] CVS: CMF/CMFSetup - skins.py:1.8.2.4

Florent Guillaume fg at nuxeo.com
Sun Mar 27 13:01:36 EST 2005


Update of /cvs-repository/CMF/CMFSetup
In directory cvs.zope.org:/tmp/cvs-serv15789

Modified Files:
      Tag: CMF-1_5-branch
	skins.py 
Log Message:
Clear skin using API.
Call setupCurrentSkin on the portal, not the skins tool.


=== CMF/CMFSetup/skins.py 1.8.2.3 => 1.8.2.4 ===
--- CMF/CMFSetup/skins.py:1.8.2.3	Tue Mar 22 14:23:49 2005
+++ CMF/CMFSetup/skins.py	Sun Mar 27 13:01:35 2005
@@ -124,8 +124,8 @@
     #
     request = getattr(site, 'REQUEST', None)
     if request is not None:
-        site._v_skindata = None
-        stool.setupCurrentSkin(request)
+        site.clearCurrentSkin()
+        site.setupCurrentSkin(request)
 
     return 'Skins tool imported'
 



More information about the CMF-checkins mailing list