Skip to content

Commit

Permalink
Remove stray debug statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 19, 2018
1 parent 8462df8 commit 5121275
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/galaxy/managers/users.py
Expand Up @@ -113,7 +113,6 @@ def is_admin(self, user, trans=None):
if user is None:
# Anonymous session or master_api_key used, if master_api_key is detected
# return True.
log.info("in is_admin.... %s" % trans)
rval = bool(trans and trans.user_is_admin())
return rval
return bool(admin_emails and user.email in admin_emails)
Expand Down

0 comments on commit 5121275

Please sign in to comment.