Skip to content

Commit e23f3ee

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-84646: Cron jobs incorrect behavior when running job terminated
1 parent fbad1da commit e23f3ee

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Cron/Setup/Recurring.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
namespace Magento\Cron\Setup;
88

9-
109
use Magento\Framework\Setup\InstallSchemaInterface;
1110
use Magento\Framework\Setup\ModuleContextInterface;
1211
use Magento\Framework\Setup\SchemaSetupInterface;
@@ -29,7 +28,6 @@ class Recurring implements InstallSchemaInterface
2928
public function __construct(
3029
\Magento\Cron\Model\ResourceModel\Schedule $schedule
3130
) {
32-
3331
$this->schedule = $schedule;
3432
}
3533

@@ -38,7 +36,6 @@ public function __construct(
3836
*/
3937
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
4038
{
41-
4239
$connection = $this->schedule->getConnection();
4340
$connection->update(
4441
$this->schedule->getMainTable(),

0 commit comments

Comments
 (0)