Skip to content
Snippets Groups Projects
Commit a95ed385 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

useless

parent 50a1610d
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,10 @@ require 'communication/block/template/chapter'
class BlocksMigration
def self.cleanup
Communication::Website::Post.order(:website_id).find_each do |post|
Communication::Website::Post.find_each do |post|
cleanup_item post
end
Communication::Website::Page.order(:website_id).find_each do |page|
Communication::Website::Page.find_each do |page|
cleanup_item page
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment