From d3cbb03e5f86e1da17cdeff3cb5d410590fb749e Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Thu, 21 Oct 2021 13:47:24 +0200 Subject: [PATCH] fix iut posts --- app/models/communication/website/imported/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/communication/website/imported/post.rb b/app/models/communication/website/imported/post.rb index cc075e644..20cc39941 100644 --- a/app/models/communication/website/imported/post.rb +++ b/app/models/communication/website/imported/post.rb @@ -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 -- GitLab