]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Reject any AMF request which is not a POST request.
[rails.git] / app / controllers / api_controller.rb
index 855e05888cddf1ee189b899482de5ac3e00fdd6f..1af14845585ee6b39e387cf6a5ab7071c509625e 100644 (file)
@@ -16,7 +16,6 @@ class ApiController < ApplicationController
   # Get an XML response containing a list of tracepoints that have been uploaded
   # within the specified bounding box, and in the specified page.
   def trackpoints
-    @@count+=1
     #retrieve the page number
     page = params['page'].to_i
     unless page
@@ -85,8 +84,6 @@ class ApiController < ApplicationController
   # fetched. All the nodes and ways that are referenced by those ways are then 
   # fetched. Finally all the xml is returned.
   def map
-    GC.start
-    @@count+=1
     # Figure out the bbox
     bbox = params['bbox']