]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Remove remaining action cache usage and related infrastructure
[rails.git] / app / controllers / user_controller.rb
index 321b619184b76788c583696acf2c18fa6544bc95..1c59930b1c1cf7ad73b664eeb3d3019a5394947d 100644 (file)
@@ -18,8 +18,6 @@ class UserController < ApplicationController
   before_filter :lookup_user_by_id, :only => [:api_read]
   before_filter :lookup_user_by_name, :only => [:set_status, :delete]
 
-  cache_sweeper :user_sweeper, :only => [:account, :set_status, :delete]
-
   def terms
     @legale = params[:legale] || OSM.IPToCountry(request.remote_ip) || DEFAULT_LEGALE
     @text = OSM.legal_text_for_country(@legale)