A platform for community discussion. Free, open, simple.
DEV: remove dead code
Sam Saffron18209e1dafe9
diff --git a/lib/topic_query.rb b/lib/topic_query.rbindex 86c126f2fe4..bfb787ce9f1 100644--- a/lib/topic_query.rb+++ b/lib/topic_query.rb@@ -19,12 +19,6 @@ class TopicQueryint.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,