Commit ecc1a57c authored by Nicolas Delaby's avatar Nicolas Delaby

Remove icon, preview, width and height parameters which are not used.

Reviewed by Tatuya


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32306 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0fd73f30
...@@ -173,8 +173,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item): ...@@ -173,8 +173,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item):
self.template = template self.template = template
security.declareProtected('View', 'index_html') security.declareProtected('View', 'index_html')
def index_html(self, REQUEST, icon=0, preview=0, width=None, height=None, def index_html(self, REQUEST, RESPONSE=None, format=None, batch_mode=False):
RESPONSE=None, format=None, batch_mode=False):
"""Render and view a printout document. """Render and view a printout document.
format: conversion format requested by User. format: conversion format requested by User.
......
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