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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 10 12:24:23 CET 2010


Author: torsten
Date: 2010-02-10 12:24:21 +0100 (Wed, 10 Feb 2010)
New Revision: 1451

Modified:
   wasko/branches/2.0/waskaweb/controllers/administration.py
Log:
* waskaweb/controllers/administration.py
(AdministrationController.accountDeactivated): Deleted. Is now
implemented in mpulsweb.controllers.auth



Modified: wasko/branches/2.0/waskaweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/administration.py	2010-02-10 11:22:24 UTC (rev 1450)
+++ wasko/branches/2.0/waskaweb/controllers/administration.py	2010-02-10 11:24:21 UTC (rev 1451)
@@ -69,15 +69,6 @@
     def index(self):
         redirect_to(action='overviewUser')
 
-    @checkRole(('admin_ka', 'cm_ka', 'pt_dlr'))
-    def accountDeactivated(self):
-        try:
-            del session['USER_AUTHORIZED']
-            session.save()
-        except KeyError:
-            pass
-        return render('/administration/account_deactivated.mako')
-
     @checkRole('admin_ka')
     def deleteUser(self, id, confirmed='0'):
         id = self._checkInt(id)



More information about the Mpuls-commits mailing list