Fix shared database sync (relates to PR #610)

This commit is contained in:
wvengen 2019-03-23 08:54:10 +01:00
parent 567e27d99a
commit d669edb173
1 changed files with 0 additions and 1 deletions

View File

@ -55,7 +55,6 @@ class Supplier < ApplicationRecord
unless shared_sync_method == 'import'
shared_supplier
.shared_articles
.where(available: true)
.where.not(id: existing_articles)
.each { |shared_article| new_articles << shared_article.build_new_article(self) }
end