From 8a3de8e736ee2fd71c325671ed528ad0f9c7600e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Feb 2024 11:33:53 +0000 Subject: [PATCH] Remove unused arguments --- webapp_headerbuttons.py | 1 - webapp_timeline.py | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 5e771f411..24539fd5d 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -25,7 +25,6 @@ def header_buttons_timeline(default_timeline: str, media_button: str, blogs_button: str, features_button: str, - news_button: str, inbox_button: str, dm_button: str, new_dm: str, diff --git a/webapp_timeline.py b/webapp_timeline.py index 517051289..c7aa0fe02 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -625,7 +625,6 @@ def html_timeline(default_timeline: str, inbox_button = 'button' blogs_button = 'button' features_button = 'button' - news_button = 'button' dm_button = 'button' if new_dm: dm_button = 'buttonhighlighted' @@ -651,8 +650,6 @@ def html_timeline(default_timeline: str, blogs_button = 'buttonselected' elif box_name == 'tlfeatures': features_button = 'buttonselected' - elif box_name == 'tlnews': - news_button = 'buttonselected' elif box_name == 'dm': dm_button = 'buttonselected' if new_dm: @@ -809,7 +806,7 @@ def html_timeline(default_timeline: str, header_buttons_timeline(default_timeline, box_name, page_number, translate, users_path, media_button, blogs_button, features_button, - news_button, inbox_button, + inbox_button, dm_button, new_dm, replies_button, new_reply, minimal, sent_button, shares_button_str, wanted_button_str, @@ -862,7 +859,7 @@ def html_timeline(default_timeline: str, header_buttons_timeline(default_timeline, box_name, page_number, translate, users_path, media_button, blogs_button, features_button, - news_button, inbox_button, + inbox_button, dm_button, new_dm, replies_button, new_reply, minimal, sent_button, shares_button_str, wanted_button_str,