X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bc880d2824c5400c2096e642ba76fdd8bbf95b34..7c7b8cf864cdf4639e4da0b8a6ebba242801807e:/apps/catalogue/views.py?ds=inline

diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py
index 7cef7268b..cf1461feb 100644
--- a/apps/catalogue/views.py
+++ b/apps/catalogue/views.py
@@ -86,7 +86,6 @@ def tagged_object_list(request, tags=''):
     model = models.Book
     shelf = [tag for tag in tags if tag.category == 'set']
     shelf_is_set = (len(tags) == 1 and tags[0].category == 'set')
-    my_shelf_is_set = shelf_is_set and tags[0].user == request.user
     theme_is_set = len([tag for tag in tags if tag.category == 'theme']) > 0
     if theme_is_set:
         model = models.Fragment
@@ -111,7 +110,6 @@ def tagged_object_list(request, tags=''):
         extra_context = {
             'categories': categories,
             'shelf_is_set': shelf_is_set,
-            'my_shelf_is_set': my_shelf_is_set,
             'only_author': only_author,
             'pd_counter': pd_counter,
             'user_is_owner': user_is_owner,