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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 19 11:55:01 CET 2010


Author: torsten
Date: 2010-03-19 11:54:58 +0100 (Fri, 19 Mar 2010)
New Revision: 2033

Modified:
   wasko/branches/2.0/jmdweb/model/case.py
Log:
* jmdweb/model/case.py (Case.getDocuments): Deleted. Now defined in
  mpulsweb


Modified: wasko/branches/2.0/jmdweb/model/case.py
===================================================================
--- wasko/branches/2.0/jmdweb/model/case.py	2010-03-19 09:58:53 UTC (rev 2032)
+++ wasko/branches/2.0/jmdweb/model/case.py	2010-03-19 10:54:58 UTC (rev 2033)
@@ -46,7 +46,6 @@
 
 from mpulsweb.model.user import UserObject
 from mpulsweb.model.agencysettings import Agency
-from mpulsweb.model.document import listDocuments
 from mpulsweb.model.case import MpulsCase, MpulsCaseFactory, MpulsCaseOverview, \
     MpulsCaseBundle, MpulsCaseStandin
 
@@ -321,17 +320,6 @@
             raise
         return None
 
-    def getDocuments(self):
-        """Returns a list of documents which are attached to this case"""
-        try:
-            # Load list of documents
-            self.documents = listDocuments(self.id)
-            return self.documents
-        except:
-            self.documents = []
-            raise
-        return []
-
     def anonymize(self):
         """Deleted personal data in the case"""
         conn, cur = None, None



More information about the Mpuls-commits mailing list