[Mpuls-commits] r481 - in wasko/trunk: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Apr 6 11:14:25 CEST 2009


Author: torsten
Date: 2009-04-06 11:14:24 +0200 (Mon, 06 Apr 2009)
New Revision: 481

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/model/case.py
Log:
Issue111


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-04-06 08:46:38 UTC (rev 480)
+++ wasko/trunk/ChangeLog.txt	2009-04-06 09:14:24 UTC (rev 481)
@@ -1,5 +1,9 @@
 2009-04-06	Torsten Irlaender  <torsten.irlaender at intevation.de> 
 
+	Issue111
+
+	* waskaweb/model/case.py: Deactivated adding of groupname on creation again.   
+
 	Set version string to 1.0.0-rc2
 
 	* waskaweb/i18n/waskaweb.pot

Modified: wasko/trunk/waskaweb/model/case.py
===================================================================
--- wasko/trunk/waskaweb/model/case.py	2009-04-06 08:46:38 UTC (rev 480)
+++ wasko/trunk/waskaweb/model/case.py	2009-04-06 09:14:24 UTC (rev 481)
@@ -438,13 +438,15 @@
         conn, cur = None, None
         try:
             user = session['USER_AUTHORIZED']
-            if user.standin:
-                group = UserGroupFactory().load(user.standin)
-                gname = group.name
-                gvorname = 'Gruppe'
-            else:
-                gname = None 
-                gvorname = None 
+            #if user.standin:
+            #    group = UserGroupFactory().load(user.standin)
+            #    gname = group.name
+            #    gvorname = 'Gruppe'
+            #else:
+            #    gname = None 
+            #    gvorname = None 
+            gname = None 
+            gvorname = None 
             agency = Agency()
             statement = data.get('statement_signed') and 1 or -1 
 



More information about the Mpuls-commits mailing list