[Mpuls-commits] r3257 - base/trunk/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 28 17:51:25 CEST 2010
Author: torsten
Date: 2010-07-28 17:51:24 +0200 (Wed, 28 Jul 2010)
New Revision: 3257
Modified:
base/trunk/mpulsweb/controllers/case.py
Log:
* mpulsweb/controllers/case.py (CaseController._markForAnonymize): Removed call to make a case anonymizable. The former check "check_anonymizeability" already checks if a case is anonymizable or not. Therefor there is no need to modify the case again.
Modified: base/trunk/mpulsweb/controllers/case.py
===================================================================
--- base/trunk/mpulsweb/controllers/case.py 2010-07-28 15:20:28 UTC (rev 3256)
+++ base/trunk/mpulsweb/controllers/case.py 2010-07-28 15:51:24 UTC (rev 3257)
@@ -172,9 +172,6 @@
# Ok, show confirmation dialog if the user really wants to anonymize the
# case.
if confirmed == 1:
- # Anonymize case. Ensure that the case is in a consistent state
- # after anonymization.
- case.make_anonymizable()
c.dialog_title = MARKANONYMIZE_SUCCESS
c.dialog_text = MARKANONYMIZE_SUCCESS_TEXT
c.url_ok = h.url_for(controller="/case_overview")
More information about the Mpuls-commits
mailing list