Skip to content

Commit

Permalink
Remove unused function from gen_mod
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Mar 9, 2022
1 parent c383dba commit 3301486
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gen_mod.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
-export([
% Modules start & stop, do NOT use in the tests, use mongoose_modules API instead
start_module/3,
start_backend_module/2,
start_backend_module/3,
stop_module/2,
does_module_support/2,
Expand Down Expand Up @@ -175,10 +174,7 @@ is_common_test_running() ->
false
end.

-spec start_backend_module(module(), list()) -> any().
start_backend_module(Module, Opts) ->
start_backend_module(Module, Opts, []).

%% @deprecated To be removed when mod_pubsub does not use it anymore
start_backend_module(Module, Opts, TrackedFuncs) ->
Backend = gen_mod:get_opt(backend, Opts, mnesia),
backend_module:create(Module, Backend, TrackedFuncs).
Expand Down

0 comments on commit 3301486

Please sign in to comment.