File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
classes/migration/upgrade/v3_6_0 Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 15
15
16
16
namespace APP \migration \upgrade \v3_6_0 ;
17
17
18
+ use PKP \submission \reviewer \recommendation \ReviewerRecommendation ;
19
+
18
20
class I1660_ReviewerRecommendations extends \PKP \migration \upgrade \v3_6_0 \I1660_ReviewerRecommendations
19
21
{
20
- public const SUBMISSION_REVIEWER_RECOMMENDATION_ACCEPT = 1 ;
21
- public const SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS = 2 ;
22
- public const SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_HERE = 3 ;
23
- public const SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_ELSEWHERE = 4 ;
24
- public const SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE = 5 ;
25
- public const SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS = 6 ;
26
-
27
22
protected function systemDefineNonRemovableRecommendations (): array
28
23
{
29
- return [
30
- static ::SUBMISSION_REVIEWER_RECOMMENDATION_ACCEPT => 'reviewer.article.decision.accept ' ,
31
- static ::SUBMISSION_REVIEWER_RECOMMENDATION_PENDING_REVISIONS => 'reviewer.article.decision.pendingRevisions ' ,
32
- static ::SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_HERE => 'reviewer.article.decision.resubmitHere ' ,
33
- static ::SUBMISSION_REVIEWER_RECOMMENDATION_RESUBMIT_ELSEWHERE => 'reviewer.article.decision.resubmitElsewhere ' ,
34
- static ::SUBMISSION_REVIEWER_RECOMMENDATION_DECLINE => 'reviewer.article.decision.decline ' ,
35
- static ::SUBMISSION_REVIEWER_RECOMMENDATION_SEE_COMMENTS => 'reviewer.article.decision.seeComments ' ,
36
- ];
24
+ return ReviewerRecommendation::seedableRecommendations ();
37
25
}
38
26
}
You can’t perform that action at this time.
0 commit comments