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

Useless first page handling removed (since we want all pages to implement links)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19205 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba657ff6
......@@ -464,16 +464,8 @@ class OOoDocument(File, ConversionCacheMixin):
must_close = 1
else:
must_close = 0
first_page = True
for f in zip_file.infolist():
file_name = f.filename
if file_name.endswith('html') and self.getPortalType() != 'Presentation':
#if file_name.endswith('html'):
continue
#if first_page and file_name.endswith('html'):
# first_page = False
# break
LOG('file_name', 0, file_name)
document = self.get(file_name, None)
if document is not None:
self.manage_delObjects([file_name])
......
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