[Mpuls-commits] r4315 - jmd/trunk/jmdweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 2 17:58:06 CET 2010


Author: torsten
Date: 2010-12-02 17:58:05 +0100 (Thu, 02 Dec 2010)
New Revision: 4315

Modified:
   jmd/trunk/jmdweb/model/case.py
Log:
* jmdweb/model/case.py (CaseFactory._initNewCase): 738: Do not init a
	new case with name of the editor anymore.


Modified: jmd/trunk/jmdweb/model/case.py
===================================================================
--- jmd/trunk/jmdweb/model/case.py	2010-12-02 16:44:17 UTC (rev 4314)
+++ jmd/trunk/jmdweb/model/case.py	2010-12-02 16:58:05 UTC (rev 4315)
@@ -43,8 +43,6 @@
 INIT_CASE_SQL = """
 UPDATE master_tbl_view
 SET
-    mitarbeiter_vorname = %(vorname)s,
-    mitarbeiter_name = %(nachname)s,
     jmd_name = %(jmd_name)s
 WHERE id = %(id)s"""
 
@@ -76,8 +74,6 @@
             user = session['USER_AUTHORIZED']
             agency = Agency()
             fields = {
-                'vorname': user.first_name,
-                'nachname': user.last_name,
                 'jmd_name': agency.getName() or None,
                 'id': int(id)
                 }



More information about the Mpuls-commits mailing list