Rev914, Disable siteDelete in Multiuser mode
This commit is contained in:
parent
5b59da2435
commit
36d3268cf7
2 changed files with 4 additions and 1 deletions
|
@ -171,6 +171,9 @@ class UiWebsocketPlugin(object):
|
|||
self.actionUserLoginForm(0)
|
||||
|
||||
# Disable not Multiuser safe functions
|
||||
def actionSiteDelete(self, to, *args, **kwargs):
|
||||
self.cmd("notification", ["info", "This function is disabled on this proxy"])
|
||||
|
||||
def actionConfigSet(self, to, *args, **kwargs):
|
||||
self.cmd("notification", ["info", "This function is disabled on this proxy"])
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.3.6"
|
||||
self.rev = 912
|
||||
self.rev = 914
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.config_file = "zeronet.conf"
|
||||
|
|
Loading…
Reference in a new issue