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

fix iut posts

parent bb966a9e
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class Communication::Website::Imported::Post < ApplicationRecord
self.post.save
end
# Don't touch if there are local changes (this would destroy some nice work)
return if post.updated_at > updated_at
# return if post.updated_at > updated_at
# Don't touch if there are no remote changes (this would do useless server workload)
return if post.updated_at == updated_at
title = Wordpress.clean title.to_s
......
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