diff --git a/bookmarks/context_processors.py b/bookmarks/context_processors.py index 8e79cf7c..13747124 100644 --- a/bookmarks/context_processors.py +++ b/bookmarks/context_processors.py @@ -18,19 +18,5 @@ def toasts(request): } -def public_shares(request): - # Only check for public shares for anonymous users - if not request.user.is_authenticated: - query_set = queries.query_shared_bookmarks( - None, request.user_profile, BookmarkSearch(), True - ) - has_public_shares = query_set.count() > 0 - return { - "has_public_shares": has_public_shares, - } - - return {} - - def app_version(request): return {"app_version": utils.app_version} diff --git a/siteroot/settings/base.py b/siteroot/settings/base.py index 6c3a7057..acede34e 100644 --- a/siteroot/settings/base.py +++ b/siteroot/settings/base.py @@ -73,7 +73,6 @@ "django.contrib.auth.context_processors.auth", "django.contrib.messages.context_processors.messages", "bookmarks.context_processors.toasts", - "bookmarks.context_processors.public_shares", "bookmarks.context_processors.app_version", ], },