From c2e6ce0f0467965e645def11e714120f01a28002 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 20 Apr 2015 15:56:37 +0200 Subject: [PATCH] Remove load_config command because is superseded by reload_config (#532) --- src/mod_admin_extra.erl | 9 --------- 1 file changed, 9 deletions(-) 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()).