DEV: remove dead code

This code is not called anywhere, remove it
This commit is contained in:
Sam Saffron 2020-02-29 15:05:09 +11:00
parent 18ed2cc7d8
commit 18209e1daf
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 0 additions and 6 deletions

View File

@ -19,12 +19,6 @@ class TopicQuery
int.call(x) && x.to_i.between?(0, PG_MAX_INT)
end
array_int_or_int = lambda do |x|
int.call(x) || (
Array === x && x.length > 0 && x.all?(&int)
)
end
{
max_posts: zero_up_to_max_int,
min_posts: zero_up_to_max_int,