mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-15 20:06:35 +08:00
Bugfix for 267fa4b when tool tags are enabled.
Thanks to JJ for the bug report - apparently at least one person has tool tags enabled :).
This commit is contained in:
@@ -44,7 +44,7 @@ class PersistentToolTagManager( AbstractToolTagManager ):
|
||||
|
||||
def __init__( self, app ):
|
||||
self.app = app
|
||||
self.sa_session = app.sa_session
|
||||
self.sa_session = app.model.context
|
||||
|
||||
def reset_tags( self ):
|
||||
log.info("removing all tool tag associations (" + str( self.sa_session.query( self.app.model.ToolTagAssociation ).count() ) + ")" )
|
||||
|
||||
Reference in New Issue
Block a user