Merge pull request #126 from zeronet-conservancy/fix_sidebar_err
fix error message due to disabling updater sites in sidebar
This commit is contained in:
commit
716182a060
1 changed files with 0 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue