mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: remove dead code
This code is not called anywhere, remove it
This commit is contained in:
parent
18ed2cc7d8
commit
18209e1daf
@ -19,12 +19,6 @@ class TopicQuery
|
|||||||
int.call(x) && x.to_i.between?(0, PG_MAX_INT)
|
int.call(x) && x.to_i.between?(0, PG_MAX_INT)
|
||||||
end
|
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,
|
max_posts: zero_up_to_max_int,
|
||||||
min_posts: zero_up_to_max_int,
|
min_posts: zero_up_to_max_int,
|
||||||
|
Loading…
Reference in New Issue
Block a user