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:
parent
216a0c97b9
commit
ce7acafe37
@ -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, "'",
|
||||
|
Loading…
Reference in New Issue
Block a user