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

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


Author: torsten
Date: 2010-02-02 15:30:28 +0100 (Tue, 02 Feb 2010)
New Revision: 1141

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.newReminder): 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:29:18 UTC (rev 1140)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 14:30:28 UTC (rev 1141)
@@ -766,26 +766,6 @@
                                           defaults=c.form_defaults)
 
     @checkRole('cm_ka')
-    def newReminder(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,
-                           'title': u"%s, %s" % (case.last_name,
-                                                 case.first_name),
-                           'description': (u"Bitte geben Sie den Grund für"
-                                           u" die Wiedervorlage ein"),
-                           'type': 1}
-        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