Commit 649f31fc authored by Jérome Perrin's avatar Jérome Perrin

remove this XXX comment which is no longer true

parent 8aa30153
...@@ -669,9 +669,8 @@ class Document(DocumentExtensibleTraversableMixin, XMLObject, UrlMixin, ...@@ -669,9 +669,8 @@ class Document(DocumentExtensibleTraversableMixin, XMLObject, UrlMixin,
catalog = self.getPortalObject().portal_catalog catalog = self.getPortalObject().portal_catalog
result_list = catalog.unrestrictedSearchResults( result_list = catalog.unrestrictedSearchResults(
reference=self.getReference(), reference=self.getReference(),
sort_on=(('creation_date', sort_on=(('creation_date',
'ascending'),)) 'ascending'),))
# XXX this should be security-unaware - delegate to script with proxy roles
if result_list: if result_list:
return result_list[0].getLanguage() return result_list[0].getLanguage()
return return
......
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