app/sweepers/pages_sweeper.rb in alchemy_cms-2.0.rc6 vs app/sweepers/pages_sweeper.rb in alchemy_cms-2.0
- old
+ new
@@ -32,15 +32,6 @@
end
end
end
end
- def expire_page(page)
- if multi_language?
- path = "#{page.language_code}/#{page.urlname_was}"
- else
- path = page.urlname_was
- end
- expire_action(path) unless page.do_not_sweep
- end
-
end