aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-03-25 12:15:54 +0100
committerBadlop <badlop@process-one.net>2022-03-25 12:51:27 +0100
commit0f73d3f4d1554ed4acd6948526ad187534b7498e (patch)
treeb67d292cc1020226e6e92f36ee655fda3939865a /src
parentDon't export password attribute when it's empty (it's invalid)(#3705) (diff)
Don't define restart and stop in ejabberd_ctl, use the corresponding commands
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_ctl.erl9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl
index 047c1697e..057cff66c 100644
--- a/src/ejabberd_ctl.erl
+++ b/src/ejabberd_ctl.erl
@@ -141,15 +141,6 @@ process(["status"], _Version) ->
?STATUS_SUCCESS
end;
-process(["stop"], _Version) ->
- %%ejabberd_cover:stop(),
- init:stop(),
- ?STATUS_SUCCESS;
-
-process(["restart"], _Version) ->
- init:restart(),
- ?STATUS_SUCCESS;
-
%% TODO: Mnesia operations should not be hardcoded in ejabberd_ctl module.
%% For now, I leave them there to avoid breaking those commands for people that
%% may be using it (as format of response is going to change).