Commit 1d23f248 authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Romain Courteaud

SQUASH CLEANUP

parent cb0d32d0
......@@ -38,7 +38,6 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_")):
meta_type = 'ERP5 Workflow Script'
portal_type = 'Workflow Script'
add_permission = Permissions.AddPortalContent
_params = ''
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
......@@ -52,13 +51,4 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_")):
'PythonScript',
)
security.declarePublic("execute")
execute = PythonScript.__call__
security.declareProtected(Permissions.AccessContentsInformation,
'getScriptParameterList')
def getScriptParameterList(self):
''' returns script's parameter for use by Pylint '''
return self._params
InitializeClass(WorkflowScript)
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