[Mpuls-commits] r2135 - wasko/branches/2.0/jmdweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 25 09:04:30 CET 2010


Author: torsten
Date: 2010-03-25 09:04:30 +0100 (Thu, 25 Mar 2010)
New Revision: 2135

Modified:
   wasko/branches/2.0/jmdweb/model/case.py
Log:
Deleted old unused restore function


Modified: wasko/branches/2.0/jmdweb/model/case.py
===================================================================
--- wasko/branches/2.0/jmdweb/model/case.py	2010-03-25 08:03:36 UTC (rev 2134)
+++ wasko/branches/2.0/jmdweb/model/case.py	2010-03-25 08:04:30 UTC (rev 2135)
@@ -119,13 +119,6 @@
             db.recycleConnection(con, cur)
         return self.editor
 
-    def restore(self):
-        #If case has no EE then set EE to undefined on restore
-        ps = self.getPrivacyStatement()
-        if not ps.isSigned():
-            ps.keepUndefined()
-        self.getState().setState(1)
-
 class State(MpulsCaseState):
     pass
 



More information about the Mpuls-commits mailing list