]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused method
authorTom Hughes <tom@compton.nu>
Sun, 1 Mar 2015 16:17:08 +0000 (16:17 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Mar 2015 16:17:08 +0000 (16:17 +0000)
app/controllers/swf_controller.rb

index b7ec2714e7b64987cd2bd75e9d97b3a804170624..9800b2049f39faff81f30160df2bcb9fa606fb69 100644 (file)
@@ -213,8 +213,4 @@ class SwfController < ApplicationController
   def lat2y(a)
     180 / Math::PI * Math.log(Math.tan(Math::PI / 4 + a * (Math::PI / 180) / 2))
   end
-
-  def sqlescape(a)
-    a.gsub("'", "''").gsub(92.chr, 92.chr + 92.chr)
-  end
 end