Skip to content

Commit

Permalink
[#1251] Remove @deprecated decorator from PackageController.autocompl…
Browse files Browse the repository at this point in the history
…ete()

This makes our tests fail, probably because of a bug in the decorator itself.
I've created an issue at #1662 to try to figure it out.
  • Loading branch information
vitorbaptista committed Apr 22, 2014
1 parent e9a5e89 commit fc697f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckan/controllers/package.py
Expand Up @@ -1117,8 +1117,6 @@ def resource_delete(self, id, resource_id):
abort(404, _('Resource not found'))
return render('package/confirm_delete_resource.html')

@maintain.deprecated('`autocomplete` is deprecated. Please use '
'/api/2/util/dataset/autocomplete')
def autocomplete(self):
'''Deprecated in favour of /api/2/util/dataset/autocomplete'''
q = unicode(request.params.get('q', ''))
Expand Down

0 comments on commit fc697f2

Please sign in to comment.