Skip to content

Commit

Permalink
batchExecute minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
GaziYucel committed May 7, 2024
1 parent 4de9014 commit d3a3cad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion classes/Handlers/DepositHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ public function execute(int $contextId, int $submissionId, int $publicationId, a
public function batchExecute(): bool
{
$batchFilter = [
Submission::STATUS_PUBLISHED
// 1, // Submission::STATUS_QUEUED,
3, // Submission::STATUS_PUBLISHED,
// 4, // Submission::STATUS_DECLINED,
// 5 // Submission::STATUS_SCHEDULED
];

$contextIds = [];
Expand Down
6 changes: 4 additions & 2 deletions classes/Handlers/ProcessHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,10 @@ public function execute(int $contextId, int $submissionId, int $publicationId, s
public function batchExecute(): bool
{
$batchFilter = [
Submission::STATUS_QUEUED,
Submission::STATUS_SCHEDULED
1, // Submission::STATUS_QUEUED,
// 3, // Submission::STATUS_PUBLISHED,
// 4, // Submission::STATUS_DECLINED,
5 // Submission::STATUS_SCHEDULED
];

$contextIds = [];
Expand Down

0 comments on commit d3a3cad

Please sign in to comment.