Skip to content

Commit

Permalink
Rev914, Disable siteDelete in Multiuser mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Mar 2, 2016
1 parent 5b59da2 commit 36d3268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions plugins/disabled-Multiuser/MultiuserPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ def responseUserLogin(self, master_seed):
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"])

Expand Down
2 changes: 1 addition & 1 deletion src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 36d3268

Please sign in to comment.