Finish removing old request counting logic.

This commit is contained in:
Tom Hughes 2009-04-26 23:27:40 +00:00
parent 72b05157ae
commit a7ea614dd0

View file

@ -16,7 +16,6 @@ class ApiController < ApplicationController
# Get an XML response containing a list of tracepoints that have been uploaded # Get an XML response containing a list of tracepoints that have been uploaded
# within the specified bounding box, and in the specified page. # within the specified bounding box, and in the specified page.
def trackpoints def trackpoints
@@count+=1
#retrieve the page number #retrieve the page number
page = params['page'].to_i page = params['page'].to_i
unless page unless page
@ -85,8 +84,6 @@ class ApiController < ApplicationController
# fetched. All the nodes and ways that are referenced by those ways are then # fetched. All the nodes and ways that are referenced by those ways are then
# fetched. Finally all the xml is returned. # fetched. Finally all the xml is returned.
def map def map
GC.start
@@count+=1
# Figure out the bbox # Figure out the bbox
bbox = params['bbox'] bbox = params['bbox']