diff options
author | Badlop <badlop@process-one.net> | 2022-03-25 12:15:54 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2022-03-25 12:51:27 +0100 |
commit | 0f73d3f4d1554ed4acd6948526ad187534b7498e (patch) | |
tree | b67d292cc1020226e6e92f36ee655fda3939865a /src/ejabberd_ctl.erl | |
parent | Don'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/ejabberd_ctl.erl')
-rw-r--r-- | src/ejabberd_ctl.erl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index 047c1697..057cff66 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). |