mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +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">>;
|
" order by creation asc">>;
|
||||||
rsm_filters(SNidx, <<>>, undefined) ->
|
rsm_filters(SNidx, <<>>, undefined) ->
|
||||||
%% 2.5 Requesting the Last Page in a Result Set
|
%% 2.5 Requesting the Last Page in a Result Set
|
||||||
Now = p1_time_compat:timestamp(),
|
|
||||||
<<" where nodeid='", SNidx/binary, "'",
|
<<" where nodeid='", SNidx/binary, "'",
|
||||||
" and creation<'", (encode_now(Now))/binary, "'",
|
|
||||||
" order by creation desc">>;
|
" order by creation desc">>;
|
||||||
rsm_filters(SNidx, Before, undefined) ->
|
rsm_filters(SNidx, Before, undefined) ->
|
||||||
<<" where nodeid='", SNidx/binary, "'",
|
<<" where nodeid='", SNidx/binary, "'",
|
||||||
|
Loading…
Reference in New Issue
Block a user