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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 3 08:53:52 CET 2010


Author: torsten
Date: 2010-02-03 08:53:49 +0100 (Wed, 03 Feb 2010)
New Revision: 1192

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.markForAnonymize): Call
self._loadCase instead of load_case, which currently does a full
initialisation of the case including building a new navigation.


Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-03 07:52:41 UTC (rev 1191)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-03 07:53:49 UTC (rev 1192)
@@ -699,7 +699,7 @@
         try:
             id = self._checkInt(id)
             confirmed = self._checkBool(confirmed)
-            case = load_case(id)
+            case = self._loadCase(id)
             # Check if the case is in a consistent state (all required fields
             # are filled)
             if ((not case.getState().phasesAreConsistent()



More information about the Mpuls-commits mailing list