Skip to content

Commit

Permalink
Remove user sharing in detailed history serialization
Browse files Browse the repository at this point in the history
Remove unused function
  • Loading branch information
guerler committed May 4, 2018
1 parent 9360a1a commit 7a7c6a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion lib/galaxy/managers/histories.py
Expand Up @@ -213,7 +213,6 @@ def __init__(self, app, **kwargs):
'state',
'state_details',
'state_ids',
'users_shared_with',
# 'community_rating',
# 'user_rating',
], include_keys_from='summary')
Expand Down
6 changes: 0 additions & 6 deletions lib/galaxy/webapps/galaxy/api/histories.py
Expand Up @@ -531,9 +531,3 @@ def get_custom_builds_metadata(self, trans, id, payload=None, **kwd):
'installed_builds' : [{'label' : ins, 'value' : ins} for ins in installed_builds],
'fasta_hdas' : [{'label' : '%s: %s' % (hda.hid, hda.name), 'value' : trans.security.encode_id(hda.id)} for hda in fasta_hdas],
}

def _get_history(self, trans, id):
history = self.history_manager.get_accessible(self.decode_id(id), trans.user, current_history=trans.history)
if not history:
raise MessageException("Invalid history (%s)." % id)
return history

0 comments on commit 7a7c6a7

Please sign in to comment.