Browse Source

Remove duplicate context after rebase

jdcaballerov 5 years ago
parent
commit
c8d8346e4d
1 changed files with 0 additions and 5 deletions
  1. 0 5
      archivebox/core/views.py

+ 0 - 5
archivebox/core/views.py

@@ -112,11 +112,6 @@ class PublicArchiveView(ListView):
             snapshot.icons = snapshot_icons(snapshot)
             snapshot.icons = snapshot_icons(snapshot)
         return qs
         return qs
 
 
-    def get_context_data(self,**kwargs):
-        context = super(PublicArchiveView,self).get_context_data(**kwargs)
-        context['num_links'] = self.get_queryset().count()
-        return context
-
     def get(self, *args, **kwargs):
     def get(self, *args, **kwargs):
         if PUBLIC_INDEX or self.request.user.is_authenticated:
         if PUBLIC_INDEX or self.request.user.is_authenticated:
             response = super().get(*args, **kwargs)
             response = super().get(*args, **kwargs)