Skip to content
Snippets Groups Projects
Commit ddca57d3 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Use String#delete for removing double quotes

parent f181f05e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment