Remove useless condition

This commit is contained in:
Christophe Romain 2017-09-27 20:40:07 +02:00
parent 216a0c97b9
commit ce7acafe37
1 changed files with 0 additions and 2 deletions

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, "'",