diff --git a/app/models/communication/website/imported/page.rb b/app/models/communication/website/imported/page.rb index 59399aac8161637d892632df9ec91c8437a7699d..a1d19fa65456d4fc25896b226f3e86746c584f92 100644 --- a/app/models/communication/website/imported/page.rb +++ b/app/models/communication/website/imported/page.rb @@ -77,7 +77,7 @@ class Communication::Website::Imported::Page < ApplicationRecord self.page.save end # Don't touch if there are local changes (this would destroy some nice work) - return if page.updated_at > updated_at + # return if page.updated_at > updated_at # Don't touch if there are no remote changes (this would do useless server workload) # return if page.updated_at == updated_at puts "Update page #{page.id}" diff --git a/app/models/communication/website/imported/post.rb b/app/models/communication/website/imported/post.rb index c9feebd09270d45eb7df29335d74270a7924e8f0..e3701668d5a3ecd23f907c8c5f4c27d9516cb41a 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