[Mpuls-commits] r1142 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 2 15:32:49 CET 2010
Author: torsten
Date: 2010-02-02 15:32:48 +0100 (Tue, 02 Feb 2010)
New Revision: 1142
Modified:
wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.newAppointment):
Deleted. Not called from anywhere now.
Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-02 14:30:28 UTC (rev 1141)
+++ wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-02 14:32:48 UTC (rev 1142)
@@ -750,22 +750,6 @@
return render('/tests/trace.mako')
@checkRole('cm_ka')
- def newAppointment(self, id):
- id = self._checkInt(id)
- case = self._loadCase(id)
- c.ds_id = id
- c.form_errors = {}
- c.form_result = {}
- cd = datetime.now()
- c.form_defaults = {'start_date': dd_mm_YYYY(cd),
- 'start_time': HH_MM(cd),
- 'case_id': id,
- 'type': 0}
- form = render('/casemanagement/newAppointment.mako')
- return formencode.htmlfill.render(unicode(form, 'utf-8'),
- defaults=c.form_defaults)
-
- @checkRole('cm_ka')
def markForDelete(self, id, confirmed):
id = self._checkInt(id)
confirmed = self._checkBool(confirmed)
More information about the Mpuls-commits
mailing list