24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Don't force persistence if cache enabled (fix previous commit)

This commit is contained in:
Christophe Romain 2015-06-18 12:54:46 +02:00
parent e5a98b100d
commit d528457ba5

View File

@ -3646,8 +3646,8 @@ max_items(Host, Options) ->
0; 0;
_ -> _ ->
case is_last_item_cache_enabled(Host) of case is_last_item_cache_enabled(Host) of
true -> 1; true -> 0;
false -> 0 false -> 1
end end
end end
end. end.