File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
* @brief CrossRef/MEDLINE XML metadata export plugin
14
14
*/
15
15
16
+ use APP \facades \Repo ;
17
+
16
18
import ('classes.plugins.DOIPubIdExportPlugin ' );
17
19
18
20
// The status of the Crossref DOI.
@@ -115,8 +117,7 @@ function getStatusMessage($request) {
115
117
// if the failure occured on request and the message was saved
116
118
// return that message
117
119
$ articleId = $ request ->getUserVar ('articleId ' );
118
- $ submissionDao = DAORegistry::getDAO ('SubmissionDAO ' ); /* @var $submissionDao SubmissionDAO */
119
- $ article = $ submissionDao ->getByid ($ articleId );
120
+ $ article = Repo::submission ()->get ((int ) $ articleId );
120
121
$ failedMsg = $ article ->getData ($ this ->getFailedMsgSettingName ());
121
122
if (!empty ($ failedMsg )) {
122
123
return $ failedMsg ;
You can’t perform that action at this time.
0 commit comments