mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-05 18:23:45 +01:00
* src/ejabberd_update.erl: Fix crash when browsing the Update
page in Erlang R12 (EJAB-552) SVN Revision: 1225
This commit is contained in:
parent
5351f56ae1
commit
1643999c35
@ -1,3 +1,8 @@
|
||||
2008-03-10 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/ejabberd_update.erl: Fix crash when browsing the Update
|
||||
page in Erlang R12 (EJAB-552)
|
||||
|
||||
2008-03-09 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/mod_proxy65/mod_proxy65_service.erl: Implement alternative
|
||||
|
@ -55,12 +55,12 @@ update_info() ->
|
||||
UpdatedBeams =
|
||||
lists:filter(
|
||||
fun(Module) ->
|
||||
{ok, {Module, [NewVsn]}} =
|
||||
{ok, {Module, NewVsn}} =
|
||||
beam_lib:version(code:which(Module)),
|
||||
case code:is_loaded(Module) of
|
||||
{file, _} ->
|
||||
Attrs = Module:module_info(attributes),
|
||||
{value, {vsn, [CurVsn]}} =
|
||||
{value, {vsn, CurVsn}} =
|
||||
lists:keysearch(vsn, 1, Attrs),
|
||||
NewVsn /= CurVsn;
|
||||
false ->
|
||||
|
Loading…
Reference in New Issue
Block a user