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

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


Author: torsten
Date: 2010-02-01 14:19:56 +0100 (Mon, 01 Feb 2010)
New Revision: 1058

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


Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-01 13:18:37 UTC (rev 1057)
+++ wasko/branches/2.0/waskaweb/controllers/case.py	2010-02-01 13:19:56 UTC (rev 1058)
@@ -916,22 +916,6 @@
             c.url_ok = "/case/logbook/%s" % str(session['case'].id)
             return render('/logbook/dialogs/failed_create_logbook_entry.mako')
 
-    @checkRole(('cm_ka'))
-    def showLogbookEntry(self, id):
-        id = self._checkInt(id)
-        try:
-            entry = LogbookEntry()
-            entry.loadById(id)
-        except:
-            c.failed_for = LOGBOOK_ENTRY_SHOW_FAILED
-            c.failed_text = LOGBOOK_ENTRY_SHOW_FAILED_TEXT
-            c.url_ok = "/case/logbook/%s" % str(session['case'].id)
-            traceback.print_exc(file=sys.stderr)
-            return render('/logbook/dialogs/failed_show_logbook_entry.mako')
-
-        c.entry = entry
-        return render('/logbook/show.mako')
-
     @checkRole('cm_ka')
     def editLogbookEntry(self, id):
         id = self._checkInt(id)



More information about the Mpuls-commits mailing list