Commit ddca57d3 authored by Yorick Peterse's avatar Yorick Peterse

Use String#delete for removing double quotes

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment