trivial: remove leftover non-workflow compatibility code

This commit is contained in:
Frédéric Péters 2014-12-24 12:27:33 +01:00
parent f5c1079e73
commit 8bdee66be3
1 changed files with 0 additions and 3 deletions

View File

@ -113,9 +113,6 @@ class FormDefUI(object):
if self.formdef.workflow:
for status in self.formdef.workflow.possible_status:
r += htmltext('<option value="wf-%s">%s</option>') % (status.id, status.name)
else: # COMPAT (behaviour when no workflow)
for label in ('new', 'accepted', 'finished', 'rejected'):
r += htmltext('<option value="%s">%s</option>') % (label, _(status_labels[label]))
r += htmltext('</select>')
r += htmltext('</td>')
r += htmltext('</tr>')