Skip to content

Commit

Permalink
[#2939] Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 12, 2012
1 parent e16738f commit f3f5331
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ckan/logic/action/get.py
Expand Up @@ -49,12 +49,6 @@ def _package_list_with_resources(context, package_revision_list):
package_list.append(result_dict)
return package_list

def _get_user_id_for_username(user_name):
''' Helper function toget user id '''
# FIXME needs completing
if c.userobj and c.userobj.name == user_name:
return c.userobj.id
raise Exception('Not logged in user')

def site_read(context,data_dict=None):
'''Return ``True``.
Expand Down

0 comments on commit f3f5331

Please sign in to comment.