Commit 547eaeb5 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xiaowu Zhang

Partially revert previous commit, use web_section_key instead

parent f2071c39
......@@ -180,8 +180,6 @@ class WebSection(Domain, DocumentExtensibleTraversableMixin):
self.REQUEST[self.web_section_key] = self.getPhysicalPath()
self.REQUEST.set('current_web_section', self)
# Populate essecial caching
self.REQUEST.set('current_web_section_url', self.absolute_url())
self.REQUEST.set('current_web_site_url', self.getWebSiteValue().absolute_url())
if not self.REQUEST.get('editable_mode') and not self.REQUEST.get('ignore_layout'):
document = None
if self.isDefaultPageDisplayed():
......
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