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,
catalog = self.getPortalObject().portal_catalog
result_list = catalog.unrestrictedSearchResults(
reference=self.getReference(),
sort_on=(('creation_date',
sort_on=(('creation_date',
'ascending'),))
# XXX this should be security-unaware - delegate to script with proxy roles
if result_list:
return result_list[0].getLanguage()
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