]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/swf_controller.rb
The test train rolls ever onwards...
[rails.git] / 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