diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 0162a40c3..49e6a9869 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -33,7 +33,6 @@ -export([start/2, stop/1, %% Node compile/1, - load_config/1, get_cookie/0, remove_node/1, export2odbc/2, @@ -146,11 +145,6 @@ commands() -> module = ?MODULE, function = compile, args = [{file, string}], result = {res, rescode}}, - #ejabberd_commands{name = load_config, tags = [server], - desc = "Load ejabberd configuration file", - module = ?MODULE, function = load_config, - args = [{file, string}], - result = {res, rescode}}, #ejabberd_commands{name = get_cookie, tags = [erlang], desc = "Get the Erlang cookie of this node", module = ?MODULE, function = get_cookie, @@ -547,9 +541,6 @@ commands() -> compile(File) -> compile:file(File). -load_config(Path) -> - ok = ejabberd_config:load_file(Path). - get_cookie() -> atom_to_list(erlang:get_cookie()).