Boneheaded
Remove some nonexistent callbacks, added in Revisions 265, 288.
This commit is contained in:
parent
b9f5c32755
commit
4936bea13f
1 changed files with 0 additions and 8 deletions
|
@ -19,14 +19,6 @@ class WebSweeper < ActionController::Caching::Sweeper
|
|||
end
|
||||
end
|
||||
|
||||
def after_remove_orphaned_pages(web)
|
||||
expire_cached_summary_pages(web)
|
||||
end
|
||||
|
||||
def after_remove_orphaned_pages_in_category(web)
|
||||
expire_cached_summary_pages(web)
|
||||
end
|
||||
|
||||
def after_destroy(record)
|
||||
if record.is_a?(Web)
|
||||
expire_cached_summary_pages(record)
|
||||
|
|
Loading…
Reference in a new issue