Commit f2ec2ada authored by Jean-Paul Smets's avatar Jean-Paul Smets

There is no reason to keep original_path since we have original_container and...

There is no reason to keep original_path since we have original_container and since document can be placed in an acquisition chain here.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31663 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24844172
......@@ -187,7 +187,6 @@ class PermanentURLMixIn(ExtensibleTraversableMixIn):
document = aq_base(document.asContext(id=name, # Hide some properties to permit locating the original
original_container=document.getParentValue(),
original_id=document.getId(),
original_path=document.getPath(),
editable_absolute_url=document.absolute_url()))
return document.__of__(self)
......
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2002-2008 Nexedi SA and Contributors. All Rights Reserved.
......@@ -193,7 +194,6 @@ class WebSection(Domain, PermanentURLMixIn):
id=document.getReference(),
original_container=document.getParentValue(),
original_id=document.getId(),
original_path=document.getPath(),
editable_absolute_url=document.absolute_url())).__of__(self)
# Try to use a custom renderer if any
custom_render_method_id = self.getCustomRenderMethodId()
......
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