diff options
| author | Tim Watson <tim@rabbitmq.com> | 2014-03-18 22:16:40 +0000 |
|---|---|---|
| committer | Tim Watson <tim@rabbitmq.com> | 2014-03-18 22:16:40 +0000 |
| commit | 73712a5a450c201307eafc9ebfd2d819b50ca06e (patch) | |
| tree | 68a15e7c80f0e361f3292b4dfc52d48e85d8d277 /src | |
| parent | 7b22230f14be9f69e9bfecea84fd99d21567c3b6 (diff) | |
| download | rabbitmq-server-git-73712a5a450c201307eafc9ebfd2d819b50ca06e.tar.gz | |
Get rid of app_utils:app_modules/1
Diffstat (limited to 'src')
| -rw-r--r-- | src/app_utils.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/app_utils.erl b/src/app_utils.erl index 2efbb1f12b..ce07ac5087 100644 --- a/src/app_utils.erl +++ b/src/app_utils.erl @@ -17,7 +17,7 @@ -export([load_applications/1, start_applications/1, start_applications/2, stop_applications/1, stop_applications/2, app_dependency_order/2, - wait_for_applications/1, app_dependencies/1, app_modules/1]). + wait_for_applications/1, app_dependencies/1]). -ifdef(use_specs). @@ -31,17 +31,12 @@ -spec wait_for_applications([atom()]) -> 'ok'. -spec app_dependency_order([atom()], boolean()) -> [digraph:vertex()]. -spec app_dependencies(atom()) -> [atom()]. --spec app_modules(atom()) -> [module()]. -endif. %%--------------------------------------------------------------------------- %% Public API -app_modules(App) -> - {ok, Modules} = application:get_key(App, modules), - Modules. - load_applications(Apps) -> load_applications(queue:from_list(Apps), sets:new()), ok. |
