Removed expiry code for bogus trace URLs that no longer exist
This commit is contained in:
parent
b255a333c5
commit
b471d757ca
2 changed files with 0 additions and 2 deletions
|
@ -16,7 +16,6 @@ class TraceSweeper < ActionController::Caching::Sweeper
|
|||
private
|
||||
|
||||
def expire_cache_for(record)
|
||||
expire_action(:controller => 'trace', :action => 'view', :id => record.id)
|
||||
expire_action(:controller => 'trace', :action => 'view', :display_name => record.user.display_name, :id => record.id)
|
||||
|
||||
expire_action(:controller => 'trace', :action => 'list', :display_name => nil, :tag => nil)
|
||||
|
|
|
@ -34,7 +34,6 @@ private
|
|||
expire_action(:controller => 'diary_entry', :action => 'rss', :format => :rss, :language => nil, :display_name => old_record.display_name)
|
||||
|
||||
old_record.traces.each do |trace|
|
||||
expire_action(:controller => 'trace', :action => 'view', :id => trace.id)
|
||||
expire_action(:controller => 'trace', :action => 'view', :display_name => old_record.display_name, :id => trace.id)
|
||||
|
||||
trace.tags.each do |tag|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue