diff --git a/ckanext/googleanalytics/dbutil.py b/ckanext/googleanalytics/dbutil.py index f78219f..1aba9b6 100644 --- a/ckanext/googleanalytics/dbutil.py +++ b/ckanext/googleanalytics/dbutil.py @@ -79,7 +79,6 @@ def get_resource_visits_for_url(url): def get_top_packages(limit=20): items = [] - authorizer = Authorizer() # caveat emptor: the query below will not filter out private # or deleted datasets (TODO) q = model.Session.query(model.Package)