diff --git a/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php b/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php index 9374f725103c0..f772a6c0c8493 100644 --- a/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php +++ b/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php @@ -544,7 +544,7 @@ protected function getScheduleTimeInterval($groupId) * @param string $groupId * @return void */ - public function cleanupDisabledJobs($groupId) + private function cleanupDisabledJobs($groupId) { $jobs = $this->getJobs(); foreach ($jobs[$groupId] as $jobCode => $jobConfig) {