25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Ammend ejabberd_admin:update/0 from adbccbe to be used by Rebar3 Sync

This commit is contained in:
Badlop 2024-04-23 18:50:44 +02:00
parent eb975268f4
commit 33c6b3700e

View File

@ -603,8 +603,9 @@ update() ->
Mods = ejabberd_admin:update_list(),
io:format("Updating modules: ~p~n", [Mods]),
ejabberd_admin:update("all"),
io:format("Updated modules: ", []),
Mods -- ejabberd_admin:update_list().
Mods2 = Mods -- ejabberd_admin:update_list(),
io:format("Updated modules: ~p~n", [Mods2]),
ok.
%%%
%%% Account management