From f9573d9155f730a6e4a0f3a3739b6d44dadfba47 Mon Sep 17 00:00:00 2001 From: master3395 Date: Mon, 26 Jan 2026 03:12:50 +0100 Subject: [PATCH] fix: Remove remaining emailMarketing references from pluginHolder/views.py Remove emailMarketing manage_url assignments that were left after skipping the plugin. These were causing issues. --- pluginHolder/views.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pluginHolder/views.py b/pluginHolder/views.py index b5df768f5..5b2938bc2 100644 --- a/pluginHolder/views.py +++ b/pluginHolder/views.py @@ -194,10 +194,7 @@ def installed(request): else: # Default: try /plugins/{plugin_dir}/settings/ or /plugins/{plugin_dir}/ # Only set if plugin is installed (we can't know if the URL exists otherwise) - # Special handling for emailMarketing - if plugin == 'emailMarketing': - data['manage_url'] = '/emailMarketing/' - elif os.path.exists(completePath): + if os.path.exists(completePath): # Check if settings route exists, otherwise use main plugin URL settings_route = f'/plugins/{plugin}/settings/' main_route = f'/plugins/{plugin}/' @@ -361,10 +358,6 @@ def installed(request): data['manage_url'] = url_elem.text else: # Default to /plugins/{plugin}/ for regular plugins - # Special handling for emailMarketing - if plugin == 'emailMarketing': - data['manage_url'] = '/emailMarketing/' - else: # Default to main plugin route (most plugins work from main route) data['manage_url'] = f'/plugins/{plugin}/'