Skip to content

Commit

Permalink
#8940 do not use submission, use publication instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Apr 27, 2023
1 parent c37d272 commit d16bec8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions classes/plugins/PKPPubIdPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function manage($args, $request)
* Get the public identifier.
*
* @param object $pubObject
* Submission, Representation, SubmissionFile + OJS Issue
* Publication, Representation, SubmissionFile
*
* @return string
*/
Expand Down Expand Up @@ -351,7 +351,6 @@ public function getDAOs()
{
return [
Repo::publication()->dao,
Repo::submission()->dao,
Application::getRepresentationDAO(),
Repo::submissionFile()->dao,
];
Expand All @@ -361,7 +360,7 @@ public function getDAOs()
* Can a pub id be assigned to the object.
*
* @param object $pubObject
* Submission, Representation, SubmissionFile + OJS Issue
* Publication, Representation, SubmissionFile, OJS Issue, OMP Chapter
*
* @return bool
* false, if the pub id contains an unresolved pattern i.e. '%' or
Expand Down Expand Up @@ -419,6 +418,8 @@ public function addToSchema($hookName, $params)
* @param string $hookName
* @param DAO $dao
* @param array $additionalFields
*
* @return bool
*/
public function getAdditionalFieldNames($hookName, $dao, &$additionalFields)
{
Expand Down

0 comments on commit d16bec8

Please sign in to comment.