From 61a43df1690cf848a1ff3052b2c20c5770e72ae1 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 30 Jan 2024 19:53:32 +0100 Subject: [PATCH] Cleanup unused code --- src/app.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app.py b/src/app.py index 2ec02cd13..fcd552a77 100644 --- a/src/app.py +++ b/src/app.py @@ -1630,14 +1630,6 @@ def app_ssowatconf(): } } - apps_using_remote_user_var_in_nginx = ( - check_output( - "grep -nri '$remote_user' /etc/yunohost/apps/*/conf/*nginx*conf | awk -F/ '{print $5}' || true" - ) - .strip() - .split("\n") - ) - # FIXME : this could be handled by nginx's regen conf to further simplify ssowat's code ... redirected_urls = {} for domain in domains: