25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Remove useless condition

This commit is contained in:
Christophe Romain 2017-09-27 20:40:07 +02:00
parent 216a0c97b9
commit ce7acafe37

View File

@ -1035,9 +1035,7 @@ rsm_filters(SNidx, undefined, After) ->
" order by creation asc">>;
rsm_filters(SNidx, <<>>, undefined) ->
%% 2.5 Requesting the Last Page in a Result Set
Now = p1_time_compat:timestamp(),
<<" where nodeid='", SNidx/binary, "'",
" and creation<'", (encode_now(Now))/binary, "'",
" order by creation desc">>;
rsm_filters(SNidx, Before, undefined) ->
<<" where nodeid='", SNidx/binary, "'",