summaryrefslogtreecommitdiff
path: root/src/rabbit_plugins.erl
diff options
context:
space:
mode:
authorTim Watson <watson.timothy@gmail.com>2014-03-13 22:49:16 +0000
committerTim Watson <watson.timothy@gmail.com>2014-03-13 22:49:16 +0000
commit5f8d433a545c7ec150fc69c9f94be67ed6219325 (patch)
tree6ff91868c3aaaf67661bef96e5ccc20377c490a4 /src/rabbit_plugins.erl
parentaea7d7763d89bd3395147f2c0d056d4301ef9cc0 (diff)
downloadrabbitmq-server-5f8d433a545c7ec150fc69c9f94be67ed6219325.tar.gz
Refactor: Simplify boot/cleanup step handling and unify modules
Isolate boot steps to a set of applications and avoid using ets to track which have run. This also simplifies cleanup step execution. The force_reload code isn't needed, since the real issue preventing updated versions of modules from being found lay in the proper expansion of (the correct set of) .ez archives, which was fixed in revision 1918e77. Unify all the boot handling code under rabbit.erl once again and now completely remove rabbit_boot, since it's no longer needed. Remove unused exports and tidy.
Diffstat (limited to 'src/rabbit_plugins.erl')
-rw-r--r--src/rabbit_plugins.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl
index 6572a625..1f36ce4c 100644
--- a/src/rabbit_plugins.erl
+++ b/src/rabbit_plugins.erl
@@ -48,7 +48,7 @@ enable(Plugins) ->
disable(Plugins) ->
app_utils:update_running_apps(
- fun() -> rabbit_boot:stop(Plugins) end,
+ fun() -> rabbit:stop_apps(Plugins) end,
fun(Diff) ->
ok = rabbit_event:notify(plugins_changed, [{disabled, Diff}])
end).