Commit a82d37cb authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_web_renderjs_ui: avoid DeprecationWarning not passing REQUEST as argument to setupCurrentSkin

This commit is to avoid this log entry:

2016-01-05 12:52:38,657 WARNING Script (Python):/erp5/portal_skins/erp5_web_renderjs_ui/WebSite_login:11 DeprecationWarning: setupCurrentSkin should be called with 'REQUEST' as argument. The BBB code will be removed in CMF 2.3.
parent c74ebecd
......@@ -62,7 +62,7 @@ if (came_from is None):\n
came_from = context.getPermanentURL(context)\n
\n
portal.portal_skins.updateSkinCookie()\n
portal.setupCurrentSkin()\n
portal.setupCurrentSkin(REQUEST)\n
\n
if (portal.portal_membership.isAnonymousUser()):\n
RESPONSE.expireCookie(\'__ac\', path=\'/\')\n
......
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