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:
parent
a8e36e7b1b
commit
80dc95fc03
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user