eliminate obsolete analytics code
diff --git a/planetstack/core/dashboard/views/analytics.py b/planetstack/core/dashboard/views/analytics.py
index dc40ee8..09d1bbc 100644
--- a/planetstack/core/dashboard/views/analytics.py
+++ b/planetstack/core/dashboard/views/analytics.py
@@ -2,13 +2,7 @@
class DashboardAnalyticsAjaxView(View):
def get(self, request, name="hello_world", **kwargs):
- if (name == "hpcSummary"):
- return HttpResponse(json.dumps(hpc_wizard.get_hpc_wizard().get_summary_for_view()), mimetype='application/javascript')
- elif (name == "hpcUserSite"):
- return HttpResponse(json.dumps(getDashboardContext(request.user, tableFormat=True)), mimetype='application/javascript')
- elif (name == "hpcMap"):
- return HttpResponse(json.dumps(getCDNOperatorData(True)), mimetype='application/javascript')
- elif (name == "bigquery"):
+ if (name == "bigquery"):
(mimetype, data) = DoPlanetStackAnalytics(request)
return HttpResponse(data, mimetype=mimetype)
else: