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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 1 14:42:13 CET 2010


Author: torsten
Date: 2010-02-01 14:42:08 +0100 (Mon, 01 Feb 2010)
New Revision: 1069

Modified:
   wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.logbook): Deleted. Not
called from anywhere now.


Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-01 13:39:22 UTC (rev 1068)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-01 13:42:08 UTC (rev 1069)
@@ -49,8 +49,8 @@
 from waskaweb.lib.security import checkRole
 #from waskaweb.lib.xmlimport import importFromXML
 from waskaweb.lib.validators import NewCaseForm, SetStandinForm, \
-     SetEditorForm, CreateAppointmentForm, CreateLogbookForm, EditLogbookForm,\
-     SetPhaseForm, WiederaufnahmeCaseForm, NeuaufnahmeCaseForm
+     SetEditorForm, CreateAppointmentForm, SetPhaseForm, \
+     WiederaufnahmeCaseForm, NeuaufnahmeCaseForm
 
 from waskaweb.model.user import UserGroupList, UserListObject
 
@@ -753,19 +753,6 @@
         c.appointmentlist = CaseAppointmentOverview(id)
         return render('/casemanagement/appointments.mako')
 
-    @checkRole(('cm_ka'))
-    def logbook(self, id, sort_field='datum', sort_order='desc'):
-        id = self._checkInt(id)
-        case = self._loadCase(id)
-        c.ds_id = id
-        logbook = Logbook()
-        logbook.loadById(id, sort_field, sort_order)
-        c.logbook = logbook
-
-        # Evaluation
-        c.eval_effort = logbook.getEvaluation()
-        return render('/logbook/overview.mako')
-
     @checkRole(('admin_ka', 'cm_ka'))
     def phase(self, id):
         id = self._checkInt(id)



More information about the Mpuls-commits mailing list