[Mpuls-commits] r1656 - in wasko/branches/2.0: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 18 12:23:51 CET 2010


Author: bh
Date: 2010-02-18 12:23:49 +0100 (Thu, 18 Feb 2010)
New Revision: 1656

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/controllers/caseappointment.py
Log:
* waskaweb/controllers/caseappointment.py
(CaseappointmentController.newReminder): CaseappointmentController
is derived from the waskaweb BaseController now which has a
_loadCase method, so use that instead of the loadCase function.


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-18 10:21:37 UTC (rev 1655)
+++ wasko/branches/2.0/ChangeLog	2010-02-18 11:23:49 UTC (rev 1656)
@@ -1,6 +1,13 @@
 2010-02-18  Bernhard Herzog  <bh at intevation.de>
 
 	* waskaweb/controllers/caseappointment.py
+	(CaseappointmentController.newReminder): CaseappointmentController
+	is derived from the waskaweb BaseController now which has a
+	_loadCase method, so use that instead of the loadCase function.
+
+2010-02-18  Bernhard Herzog  <bh at intevation.de>
+
+	* waskaweb/controllers/caseappointment.py
 	(CaseappointmentController.show): Set a default value for
 	confirmed parameter to make this controller action work again.
 

Modified: wasko/branches/2.0/waskaweb/controllers/caseappointment.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/caseappointment.py	2010-02-18 10:21:37 UTC (rev 1655)
+++ wasko/branches/2.0/waskaweb/controllers/caseappointment.py	2010-02-18 11:23:49 UTC (rev 1656)
@@ -65,7 +65,7 @@
     @checkRole('cm_ka')
     def newReminder(self, id):
         id = self._checkInt(id)
-        case = loadCase(id)
+        case = self._loadCase(id)
         c.form_errors = {}
         c.form_result = {}
         cd = datetime.now()



More information about the Mpuls-commits mailing list