Skip to content

Commit 7c72ea8

Browse files
author
Oleksii Korshenko
committed
MAGETWO-70029: Instantly apply configuration changes in the cron schedule #9957
- cron observer must have only 1 public method
1 parent 687b01b commit 7c72ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ protected function getScheduleTimeInterval($groupId)
544544
* @param string $groupId
545545
* @return void
546546
*/
547-
public function cleanupDisabledJobs($groupId)
547+
private function cleanupDisabledJobs($groupId)
548548
{
549549
$jobs = $this->getJobs();
550550
foreach ($jobs[$groupId] as $jobCode => $jobConfig) {

0 commit comments

Comments
 (0)