25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-10 15:47:30 +01:00

Remove unnecessary case from recent commit 599cddf

This commit is contained in:
Badlop 2024-05-25 20:33:20 +02:00
parent a8e36e7b1b
commit 80dc95fc03

View File

@ -772,13 +772,7 @@ should_update_schema(Host) ->
true ->
case ejabberd_sql:use_new_schema() of
true ->
%% TODO: not efficient when there are many hosts
case lists:member(sql, ejabberd_option:auth_method(Host)) of
true ->
true;
false ->
false
end;
lists:member(sql, ejabberd_option:auth_method(Host));
false ->
true
end;