Skip to content

Commit

Permalink
[#2755] Don't call user_show twice
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes authored and amercader committed Aug 6, 2012
1 parent a129737 commit a26d88c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ckan/controllers/user.py
Expand Up @@ -107,10 +107,6 @@ def read(self, id=None):
abort(401, _('Not authorized to see this page'))

context['with_related'] = True
try:
user_dict = get_action('user_show')(context,data_dict)
except NotFound:
h.redirect_to(controller='user', action='login', id=None)

self._setup_template_variables(context, data_dict)

Expand Down

0 comments on commit a26d88c

Please sign in to comment.