1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 19:42:11 +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;
_ ->
case is_last_item_cache_enabled(Host) of
true -> 1;
false -> 0
true -> 0;
false -> 1
end
end
end.