Skip to content

Commit

Permalink
Finish the removal of (un)set_opt usage in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Oct 25, 2021
1 parent faf46ce commit d519c79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/config/mongoose_config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
get_opt/1,
get_opt/2]).

%% Test API - currently used by some modules, such usage will be eliminated
%% Options set here are not cleaned up by stop/0
%% Test API, do not use outside of test suites, options set here are not cleaned up by stop/0
-export([set_opt/2,
unset_opt/1]).

Expand All @@ -21,7 +20,7 @@
-export([all_cluster_nodes/0,
other_cluster_nodes/0]).

-ignore_xref([config_state/0, config_states/0, all_cluster_nodes/0]).
-ignore_xref([set_opt/2, unset_opt/1, config_state/0, config_states/0, all_cluster_nodes/0]).

-include("mongoose.hrl").
-include("ejabberd_config.hrl").
Expand Down

0 comments on commit d519c79

Please sign in to comment.