Commit 17c3b0c7 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

no longer pass 'view' argument to the type based method of getPermanentURL.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40358 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9992ca92
...@@ -307,8 +307,7 @@ class WebSection(Domain, DocumentExtensibleTraversableMixin): ...@@ -307,8 +307,7 @@ class WebSection(Domain, DocumentExtensibleTraversableMixin):
document = document.getObject().__of__(self) document = document.getObject().__of__(self)
result = document._getTypeBasedMethod('getPermanentURL', result = document._getTypeBasedMethod('getPermanentURL',
fallback_script_id='WebSection_getPermanentURL')(document, fallback_script_id='WebSection_getPermanentURL')(document)
view=view)
if cache is not None: if cache is not None:
cache[key] = result cache[key] = result
......
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