Skip to content

Commit

Permalink
Merge pull request #339 from touhidurabir/i7725_main
Browse files Browse the repository at this point in the history
pkp/pkp-lib#7725 Decision constants sync up
  • Loading branch information
NateWr authored Aug 30, 2022
2 parents 66c3843 + f19684b commit 4395a67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 57 deletions.
58 changes: 2 additions & 56 deletions classes/decision/Decision.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,7 @@

use PKP\decision\Decision as BaseDecision;

/**
* The decision constants are not used in OPS, but they are required
* in order to prevent errors in the pkp-lib code. They should be
* removed once the constants have been synced across OJS/OMP and moved
* into pkp-lib.
*
* @see https://github.com/pkp/pkp-lib/issues/7725
*/
class Decision extends BaseDecision
{
/** @deprecated */
public const ACCEPT = 1;

/** @deprecated */
public const PENDING_REVISIONS = 2;

/** @deprecated */
public const RESUBMIT = 3;

/** @deprecated */
public const DECLINE = 4;

/** @deprecated */
public const SEND_TO_PRODUCTION = 7;

/** @deprecated */
public const EXTERNAL_REVIEW = 8;

/** @deprecated */
public const RECOMMEND_ACCEPT = 11;

/** @deprecated */
public const RECOMMEND_PENDING_REVISIONS = 12;

/** @deprecated */
public const RECOMMEND_RESUBMIT = 13;

/** @deprecated */
public const RECOMMEND_DECLINE = 14;

/** @deprecated */
public const NEW_EXTERNAL_ROUND = 16;

/** @deprecated */
public const REVERT_DECLINE = 17;

/** @deprecated */
public const SKIP_EXTERNAL_REVIEW = 19;

/** @deprecated */
public const BACK_TO_REVIEW = 20;

/** @deprecated */
public const BACK_TO_COPYEDITING = 21;

/** @deprecated */
public const BACK_TO_SUBMISSION_FROM_COPYEDITING = 22;
}

}
2 changes: 1 addition & 1 deletion lib/pkp
Submodule pkp updated 176 files

0 comments on commit 4395a67

Please sign in to comment.