Remove unused code.
This commit is contained in:
parent
5b4386fe7c
commit
b4d88412ca
|
@ -856,12 +856,6 @@ class Admin::PersonalPluginFieldsController < OrbitMemberController
|
||||||
if !@parse_again_mode
|
if !@parse_again_mode
|
||||||
text.gsub(/\n(\s+)[^\n]*(#{k}|#{k.classify})/m) {|ff| @blank_texts << $1.gsub(/(\r\n|\n)/,'')}
|
text.gsub(/\n(\s+)[^\n]*(#{k}|#{k.classify})/m) {|ff| @blank_texts << $1.gsub(/(\r\n|\n)/,'')}
|
||||||
end
|
end
|
||||||
if k == 'display_field_code'
|
|
||||||
puts nil
|
|
||||||
puts "display_field_code: @parse_again_mode: #{@parse_again_mode}"
|
|
||||||
print @blank_texts
|
|
||||||
puts nil
|
|
||||||
end
|
|
||||||
i = 0
|
i = 0
|
||||||
text = text.gsub(k + "s"){|ff| v.pluralize.gsub("\n","\n#{@blank_texts[i]}")}
|
text = text.gsub(k + "s"){|ff| v.pluralize.gsub("\n","\n#{@blank_texts[i]}")}
|
||||||
text = text.gsub(k ){|ff| v.gsub("\n","\n#{@blank_texts[i]}")}
|
text = text.gsub(k ){|ff| v.gsub("\n","\n#{@blank_texts[i]}")}
|
||||||
|
|
Loading…
Reference in New Issue