Remove unused bits.

This commit is contained in:
Pēteris Caune 2018-12-25 23:13:02 +02:00
parent 5dc4a879e4
commit da399e71b7
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -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,