From da399e71b7ac08247a957989baefa6dd8ce5fae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 25 Dec 2018 23:13:02 +0200 Subject: [PATCH] Remove unused bits. --- hc/front/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/hc/front/views.py b/hc/front/views.py index 8cbaf3fb..5a220cfd 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -481,13 +481,10 @@ def channels(request): channels = channels.order_by("created") channels = channels.annotate(n_checks=Count("checks")) - num_checks = Check.objects.filter(user=request.team.user).count() - ctx = { "page": "channels", "profile": request.team, "channels": channels, - "num_checks": num_checks, "enable_pushbullet": settings.PUSHBULLET_CLIENT_ID is not None, "enable_pushover": settings.PUSHOVER_API_TOKEN is not None, "enable_discord": settings.DISCORD_CLIENT_ID is not None,