aboutsummaryrefslogtreecommitdiffstats
path: root/control.py
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-06-17 13:29:34 +0200
committernico <nico@magicbroccoli.de>2020-06-17 13:30:08 +0200
commitd36dbe03c8c4c11730a8da3c07844ef57fc21ff5 (patch)
tree64d637969b94da69201bde6e13cbdc7be373ad95 /control.py
parent990d3abdc60bea8a525d4fbdc56cdff2e44947ce (diff)
Revert "add more global values"
This reverts commit 990d3abdc60bea8a525d4fbdc56cdff2e44947ce. my mistake, I hadn't checked if I am on the correct branch
Diffstat (limited to 'control.py')
-rw-r--r--control.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/control.py b/control.py
index ecf3994..f865444 100644
--- a/control.py
+++ b/control.py
@@ -73,16 +73,6 @@ class EjabberdCtl(EjabberdApi):
return result
return result["s2s_outgoing"]
- def fetch_uptime(self):
- result = self.cmd("stats", {"name": "uptimeseconds"})
- if "stat" in result:
- return result["stat"]
-
- def fetch_processes(self):
- result = self.cmd("stats", {"name": "processes"})
- if "stat" in result:
- return result["stat"]
-
def fetch_registered_count(self, vhost=None):
if vhost is None:
result = self.cmd("stats", {"name":"registeredusers"})