Commit a9da6c93 authored by Sebastien Robin's avatar Sebastien Robin

we should not look inside request, this is not clean.

Remove this debug mode, it is probably not used

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42986 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a95b6da5
...@@ -531,10 +531,6 @@ class OOoTemplate(ZopePageTemplate): ...@@ -531,10 +531,6 @@ class OOoTemplate(ZopePageTemplate):
media_type=document_dict['doc_type'], media_type=document_dict['doc_type'],
content=document_dict['document']) content=document_dict['document'])
# Debug mode
if request.get('debug',0):
return doc_xml
# Replace content.xml in master openoffice template # Replace content.xml in master openoffice template
ooo_builder.replace(self.ooo_xml_file_id, doc_xml) ooo_builder.replace(self.ooo_xml_file_id, doc_xml)
......
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