Browse Source

Remove unused bits.

pull/211/head
Pēteris Caune 6 years ago
parent
commit
da399e71b7
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      hc/front/views.py

+ 0
- 3
hc/front/views.py 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,


Loading…
Cancel
Save