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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 25 18:21:14 CET 2011


Author: bh
Date: 2011-11-25 18:21:13 +0100 (Fri, 25 Nov 2011)
New Revision: 5669

Modified:
   base/trunk/mpulsweb/controllers/formularpage.py
Log:
Do not call the session case's setPageId method anymore.
The corresponding getPageId method is never called anymore either. The
last getPageId calls have been removed in base/trunk r5645.
With this change, the last place where setPageId is called has been
removed. Now the setPageId and getPageId methods themselves can be
removed.


Modified: base/trunk/mpulsweb/controllers/formularpage.py
===================================================================
--- base/trunk/mpulsweb/controllers/formularpage.py	2011-11-25 12:15:21 UTC (rev 5668)
+++ base/trunk/mpulsweb/controllers/formularpage.py	2011-11-25 17:21:13 UTC (rev 5669)
@@ -98,7 +98,6 @@
                                    languages=get_lang())
     c.formularerrors = error_renderer.render()
     c.page_id = page.getIdentifier()
-    session['case'].setPageId(c.page_id)
     session['navigation.selectedpage'] = id
     session.save()
 



More information about the Mpuls-commits mailing list