diff --git a/daemon.py b/daemon.py
index 8f81000d0..a53c2ea67 100644
--- a/daemon.py
+++ b/daemon.py
@@ -7920,10 +7920,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.text_mode_banner,
self.server.news_instance,
authorized,
- access_keys, is_group,
- getreq_start_time,
- self.server.fitness,
- debug)
+ access_keys, is_group)
if msg:
msg = msg.encode('utf-8')
msglen = len(msg)
diff --git a/webapp_person_options.py b/webapp_person_options.py
index fddedff0b..bf012bd2b 100644
--- a/webapp_person_options.py
+++ b/webapp_person_options.py
@@ -29,7 +29,6 @@ from webapp_utils import html_header_with_external_style
from webapp_utils import html_footer
from webapp_utils import get_broken_link_substitute
from webapp_utils import html_keyboard_navigation
-from fitnessFunctions import fitness_performance
def html_person_options(default_timeline: str,
@@ -63,33 +62,19 @@ def html_person_options(default_timeline: str,
news_instance: bool,
authorized: bool,
access_keys: {},
- is_group: bool,
- getreq_start_time,
- fitness: {}, debug: bool) -> str:
+ is_group: bool) -> str:
"""Show options for a person: view/follow/block/report
"""
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options start',
- debug)
-
options_domain, options_port = get_domain_from_actor(options_actor)
if not options_domain:
return None
options_domain_full = get_full_domain(options_domain, options_port)
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options get domain',
- debug)
-
if os.path.isfile(base_dir + '/accounts/options-background-custom.jpg'):
if not os.path.isfile(base_dir + '/accounts/options-background.jpg'):
copyfile(base_dir + '/accounts/options-background.jpg',
base_dir + '/accounts/options-background.jpg')
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options background',
- debug)
-
dormant = False
follow_str = 'Follow'
if is_group:
@@ -125,10 +110,6 @@ def html_person_options(default_timeline: str,
options_nickname, options_domain_full):
block_str = 'Block'
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options 1',
- debug)
-
options_link_str = ''
if options_link:
options_link_str = \
@@ -138,10 +119,6 @@ def html_person_options(default_timeline: str,
if os.path.isfile(base_dir + '/options.css'):
css_filename = base_dir + '/options.css'
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options 2',
- debug)
-
# To snooze, or not to snooze? That is the question
snooze_button_str = 'Snooze'
if nickname:
@@ -155,19 +132,11 @@ def html_person_options(default_timeline: str,
' tabindex="-1"">\n'
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options 3',
- debug)
-
instance_title = \
get_config_param(base_dir, 'instanceTitle')
options_str = \
html_header_with_external_style(css_filename, instance_title, None)
- fitness_performance(getreq_start_time, fitness,
- '_GET', 'html_person_options 4',
- debug)
-
options_str += html_keyboard_navigation(text_mode_banner, {}, {})
options_str += '
\n'
options_str += '