From 23abbe05de0352da44ad18ca796843c4e2855be4 Mon Sep 17 00:00:00 2001 From: Sergey Motornyuk Date: Wed, 15 Jan 2020 09:51:06 +0200 Subject: [PATCH] remove unused prop from plugin --- ckanext/googleanalytics/plugin/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ckanext/googleanalytics/plugin/__init__.py b/ckanext/googleanalytics/plugin/__init__.py index ebc9f5e..5dd66f4 100644 --- a/ckanext/googleanalytics/plugin/__init__.py +++ b/ckanext/googleanalytics/plugin/__init__.py @@ -90,10 +90,6 @@ class GoogleAnalyticsPlugin(GAMixinPlugin, p.SingletonPlugin): if self.googleanalytics_linked_domains: self.googleanalytics_fields["allowLinker"] = "true" - self.googleanalytics_javascript_url = h.url_for_static( - "/scripts/ckanext-googleanalytics.js" - ) - # If resource_prefix is not in config file then write the default value # to the config dict, otherwise templates seem to get 'true' when they # try to read resource_prefix from config.