Remove unused code.

This commit is contained in:
BoHung Chiu 2022-08-23 13:51:40 +08:00
parent 5b4386fe7c
commit b4d88412ca
1 changed files with 0 additions and 6 deletions

View File

@ -856,12 +856,6 @@ class Admin::PersonalPluginFieldsController < OrbitMemberController
if !@parse_again_mode
text.gsub(/\n(\s+)[^\n]*(#{k}|#{k.classify})/m) {|ff| @blank_texts << $1.gsub(/(\r\n|\n)/,'')}
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
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]}")}