Skip to content

Commit

Permalink
don't register in handle system if agency is crossref
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 25, 2018
1 parent 32736f7 commit 00b81b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00b81b9

Please sign in to comment.