提交 ddca57d3 编写于 作者: Y Yorick Peterse

Use String#delete for removing double quotes

上级 f181f05e
......@@ -37,7 +37,7 @@ module Gitlab
# InfluxDB escapes double quotes upon output, so lets get rid of them
# whenever we can.
if Gitlab::Database.postgresql?
sql = sql.gsub('"', '')
sql = sql.delete('"')
end
sql
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册