Skip to content

Commit

Permalink
Merge pull request pkp#9850 from bozana/9834
Browse files Browse the repository at this point in the history
pkp/pkp-lib9834 allow further usage log file processing for successfu…
  • Loading branch information
bozana authored Apr 1, 2024
2 parents aecaefc + ac6b034 commit 52ff2ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions classes/task/PKPUsageStatsLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ protected function executeActions(): bool
$this->autoStage();
}
$processFilesResult = parent::executeActions();
if (!$processFilesResult) {
return false;
}

$site = Application::get()->getRequest()->getSite();
$jobs = [];
Expand All @@ -133,7 +130,7 @@ protected function executeActions(): bool
), ScheduledTaskHelper::SCHEDULED_TASK_MESSAGE_TYPE_NOTICE);
}

return (!$processingDirError);
return (!$processingDirError && $processFilesResult);
}

/**
Expand Down

0 comments on commit 52ff2ba

Please sign in to comment.