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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 2 17:42:32 CET 2010


Author: torsten
Date: 2010-02-02 17:42:31 +0100 (Tue, 02 Feb 2010)
New Revision: 1166

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.markForDelete): Deleted
ds_id context var. Is not needed here.


Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 16:31:54 UTC (rev 1165)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 16:42:31 UTC (rev 1166)
@@ -663,7 +663,6 @@
     def markForDelete(self, id, confirmed):
         id = self._checkInt(id)
         confirmed = self._checkBool(confirmed)
-        c.ds_id = id
         if confirmed == 1:
             case = load_case(id)
             case.setState(3)
@@ -672,7 +671,6 @@
                               " Administration weitergeleitet.")
             c.url_ok = h.url_for(controller="/case_overview")
             return render('/casemanagement/dialogs/success_delete_cm.mako')
-            redirect_to(controller="/case_overview")
         else:
             c.context = "../main.mako"
             c.confirm_for = DELETE_CONFIRM



More information about the Mpuls-commits mailing list