[Mpuls-commits] r3712 - base/trunk/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Sep 17 10:39:28 CEST 2010


Author: torsten
Date: 2010-09-17 10:39:27 +0200 (Fri, 17 Sep 2010)
New Revision: 3712

Modified:
   base/trunk/mpulsweb/controllers/privacy.py
Log:
* mpulsweb/controllers/privacy.py (PrivacyController.decline): Removed unused call of determineAnonymizedCaseEndPhaseName


Modified: base/trunk/mpulsweb/controllers/privacy.py
===================================================================
--- base/trunk/mpulsweb/controllers/privacy.py	2010-09-17 08:22:09 UTC (rev 3711)
+++ base/trunk/mpulsweb/controllers/privacy.py	2010-09-17 08:39:27 UTC (rev 3712)
@@ -136,9 +136,7 @@
         else:
             # Get description of the phase which will be set after anonymisation
             pdescriptions = g.mpuls_config.get('phases', 'description')[0]
-            phase = pdescriptions.get(determineAnonymizedCaseEndPhaseName(case))
             c.dialog_title = PRIVACY_DECLINE
-            #c.dialog_text = PRIVACY_DECLINE_TEXT % phase
             c.dialog_text = PRIVACY_DECLINE_TEXT
             c.url_yes = h.url_for(controller="privacy", action="decline",
                                   id=id, confirmed="1")



More information about the Mpuls-commits mailing list