From 3301486f9ee54571fb8ade951afc0627ba437b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chrz=C4=85szcz?= Date: Wed, 9 Mar 2022 15:07:31 +0100 Subject: [PATCH] Remove unused function from gen_mod --- src/gen_mod.erl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gen_mod.erl b/src/gen_mod.erl index 1294419ea3..e3d592a545 100644 --- a/src/gen_mod.erl +++ b/src/gen_mod.erl @@ -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, @@ -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).