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

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


Author: torsten
Date: 2010-02-02 17:47:18 +0100 (Tue, 02 Feb 2010)
New Revision: 1170

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.restore): Delete ds_id context var. Is not used here.


Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 16:46:13 UTC (rev 1169)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 16:47:18 UTC (rev 1170)
@@ -704,7 +704,6 @@
     def restore(self, id, confirmed):
         id = self._checkInt(id)
         confirmed = self._checkBool(confirmed)
-        c.ds_id = id
         if confirmed == 1:
             case = self._loadCase(id)
             case.restore()
@@ -712,7 +711,6 @@
             c.success_text = u'Bitte klicken Sie "OK", um fortzufahren.'
             c.url_ok = h.url_for(controller="/case_overview")
             return render('/casemanagement/dialogs/success_restore.mako')
-            #redirect_to(controller="/case_overview")
         else:
             c.context = "../main.mako"
             c.confirm_for = RESTORE_CONFIRM



More information about the Mpuls-commits mailing list