diff --git a/lib/galaxy/webapps/galaxy/controllers/root.py b/lib/galaxy/webapps/galaxy/controllers/root.py index 152a44c44f1..b13b82bc0ef 100644 --- a/lib/galaxy/webapps/galaxy/controllers/root.py +++ b/lib/galaxy/webapps/galaxy/controllers/root.py @@ -276,20 +276,6 @@ class RootController( controller.JSAppLauncher, UsesAnnotations ): else: return "No data with id=%d" % id - @web.expose - def peek(self, trans, id=None): - """Returns a 'peek' at the data. - """ - # TODO: unused? - # TODO: unencoded id - data = trans.sa_session.query( self.app.model.HistoryDatasetAssociation ).get( id ) - if data: - yield "
"
-            yield data.peek
-            yield "
" - else: - yield "No data with id=%d" % id - # ---- History management ----------------------------------------------- @web.expose def history_delete( self, trans, id ):