]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/request_token.rb
Don't cache the trace list for logged in users.
[rails.git] / app / models / request_token.rb
index 1be8c69026881513cb280230b07e674a51584fe3..d66fe6ce13e93f74370fe6efe35d9c2c54e9809a 100644 (file)
@@ -9,11 +9,9 @@ class RequestToken < OauthToken
   def exchange!
     return false unless authorized?
     RequestToken.transaction do
-      logger.info("£££ In exchange!")
       params = { :user => user, :client_application => client_application }
       # copy the permissions from the authorised request token to the access token
       client_application.permissions.each { |p| 
-        logger.info("£££ copying permission #{p} = #{read_attribute(p).inspect}")
         params[p] = read_attribute(p)
       }