From 00b81b9265b9bcdd23162026f6466d93da3326ef Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 25 Dec 2018 08:53:51 +0100 Subject: [PATCH] don't register in handle system if agency is crossref --- app/models/doi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/doi.rb b/app/models/doi.rb index 5c94fa27a..5bed48ed4 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -584,7 +584,7 @@ def validatable? def update_url return nil if current_user.nil? || !is_registered_or_findable? - if %w(europ ethz).include?(provider_id) + if %w(europ ethz).include?(provider_id) || %w(Crossref).include?(agency) UrlJob.perform_later(doi) else HandleJob.perform_later(doi)