ojsde/ojs — comment on commit 5f776919316b1877b0ee7e5b5c8cdca5062b075b
File: classes/article/DoiHelper.inc.php line 54
By ojsde:

I think the check in line 59 + the check that the journal id corresponds to the object's journal id deals with these eventualities. The fact that we do not query the journal in every case is just a performance optimization inherited from the prior DOI code. I left it in there because I thought it was probably due to some performance trouble that you once fixed there.