From e3ca543f8e9a70fa6f63cab366bf830e0b8522fa Mon Sep 17 00:00:00 2001 From: mattkatz Date: Tue, 12 Mar 2024 22:04:48 -0400 Subject: [PATCH] Remove extraneous function getting context data no longer seems needed, if it ever was. --- bookwyrm/views/rss_feed.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bookwyrm/views/rss_feed.py b/bookwyrm/views/rss_feed.py index 6f81ab2b3..daca6efa0 100644 --- a/bookwyrm/views/rss_feed.py +++ b/bookwyrm/views/rss_feed.py @@ -234,10 +234,3 @@ class RssShelfFeed(Feed): if obj.description: desc = f" {obj.description}" return f"Books added to the '{obj.name}' shelf for {obj.user.name}.{desc}" - - def get_context_data(self, **kwargs): - context = super().get_context_data(**kwargs) - # TODO: gotta check that this is the SHELF user! - context["user"] = kwargs["request"].user - context["shelf"] = kwargs["obj"] - return context