Boneheaded

Remove some nonexistent callbacks, added in Revisions 265, 288.
This commit is contained in:
Jacques Distler 2009-01-11 13:49:58 -06:00
parent b9f5c32755
commit 4936bea13f

View file

@ -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)