]> git.openstreetmap.org Git - rails.git/blobdiff - lib/osm.rb
Reject referers that do not include an absolute path
[rails.git] / lib / osm.rb
index daa15fe8bffcaf8004411411dd7d6057a0478225..b6dd64b9986131b04fb6ddf6a1e9043f073a9240 100644 (file)
@@ -5,13 +5,6 @@ module OSM
   require "rexml/text"
   require "xml/libxml"
 
-  if defined?(SystemTimer)
-    Timer = SystemTimer
-  else
-    require "timeout"
-    Timer = Timeout
-  end
-
   # The base class for API Errors.
   class APIError < RuntimeError
     def initialize(message = "Generic API Error")