[Mpuls-commits] r1155 - wasko/branches/2.0/waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 2 15:55:34 CET 2010


Author: torsten
Date: 2010-02-02 15:55:33 +0100 (Tue, 02 Feb 2010)
New Revision: 1155

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.showAppointment):
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:54:26 UTC (rev 1154)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 14:55:33 UTC (rev 1155)
@@ -675,14 +675,6 @@
                                           defaults=form_defaults,
                                           auto_insert_errors=False,
                                           errors=c.form_errors)
-    @checkRole(('admin_ka', 'cm_ka'))
-    @checkPrivacyStatement('showAppointment')
-    def showAppointment(self, id, confirmed):
-        factory = CaseAppointmentFactory()
-        id = self._checkInt(id)
-        app = factory.loadById(id)
-        c.appointment = app
-        return render('/casemanagement/showAppointment.mako')
 
     @checkRole('cm_ka')
     def markForDelete(self, id, confirmed):



More information about the Mpuls-commits mailing list