Skip to content

Commit 05e27f5

Browse files
Update comment.rb
1 parent 497eaa0 commit 05e27f5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/marginalia/comment.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ def self.construct_comment
3131
end
3232

3333
def self.escape_sql_comment(str)
34-
if str.include?('/*') || str.include?('*/')
35-
str = str.dup
36-
end
3734
while str.include?('/*') || str.include?('*/')
3835
str = str.gsub('/*', '').gsub('*/', '')
3936
end

0 commit comments

Comments
 (0)