From 6a8899677dd202009a84cae2b26010950de026b0 Mon Sep 17 00:00:00 2001 From: Stu Tomlinson Date: Sat, 21 Jan 2023 12:59:33 +0000 Subject: [PATCH] Un-deprecate ejabberd_config:set_option/2 There does not appear to be an alternative way to set individual config options, and this is already used by test/ejabberd_SUITE.erl --- src/ejabberd_config.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ejabberd_config.erl b/src/ejabberd_config.erl index b503a4e8b..2745f5545 100644 --- a/src/ejabberd_config.erl +++ b/src/ejabberd_config.erl @@ -37,13 +37,13 @@ -export([beams/1, validators/1, globals/0, may_hide_data/1]). -export([dump/0, dump/1, convert_to_yaml/1, convert_to_yaml/2]). -export([callback_modules/1]). +-export([set_option/2]). %% Deprecated functions --export([get_option/2, set_option/2]). +-export([get_option/2]). -export([get_version/0, get_myhosts/0]). -export([get_mylang/0, get_lang/1]). -deprecated([{get_option, 2}, - {set_option, 2}, {get_version, 0}, {get_myhosts, 0}, {get_mylang, 0},