Remove Usage.increment calls that have been shown to in fact be used (#1645)

I think these were added for undocumented features to see if they were
actually used and they were being used.
This commit is contained in:
Dylan Thacker-Smith
2022-10-26 09:21:43 -04:00
committed by GitHub
parent 6ce4ec1011
commit 96b5325f87
3 changed files with 1 additions and 31 deletions
+1 -4
View File
@@ -30,10 +30,7 @@ module Liquid
# @liquid_return [forloop]
attr_reader :parentloop
def name
Usage.increment('forloop_drop_name')
@name
end
attr_reader :name
# @liquid_public_docs
# @liquid_summary
-1
View File
@@ -177,7 +177,6 @@ module Liquid
case key
when 'offset'
@from = if expr == 'continue'
Usage.increment('for_offset_continue')
:continue
else
parse_expression(expr)