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

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


Author: torsten
Date: 2010-02-02 17:46:13 +0100 (Tue, 02 Feb 2010)
New Revision: 1169

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.delete): 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:44:35 UTC (rev 1168)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-02 16:46:13 UTC (rev 1169)
@@ -683,7 +683,6 @@
     def delete(self, id, confirmed):
         id = self._checkInt(id)
         confirmed = self._checkBool(confirmed)
-        c.ds_id = id
         if confirmed == 1:
             case = self._loadCase(id)
             if case.delete():
@@ -691,7 +690,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_delete.mako')
-                #redirect_to(controller="/case_overview")
             # TODO: Create Errorpage
             return "Error! Could not delete ds."
         else:



More information about the Mpuls-commits mailing list