From 0f73d3f4d1554ed4acd6948526ad187534b7498e Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 25 Mar 2022 12:15:54 +0100 Subject: [PATCH] Don't define restart and stop in ejabberd_ctl, use the corresponding commands --- src/ejabberd_ctl.erl | 9 --------- 1 file changed, 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).