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 b7ec271..9800b20 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