From 1f305615a45c3c930577a287a4711b65a2bc1e7b Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Sun, 10 Jul 2022 11:13:56 +0000 Subject: [PATCH] fix error message due to disabling updater sites in sidebar --- plugins/Sidebar/SidebarPlugin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 06e9dafd..876ea37a 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -758,9 +758,6 @@ class UiWebsocketPlugin(object): @flag.admin @flag.no_multiuser def actionSiteSetOwned(self, to, owned): - if self.site.address == config.updatesite: - return {"error": "You can't change the ownership of the updater site"} - self.site.settings["own"] = bool(owned) self.site.updateWebsocket(owned=owned) return "ok"