Skip to content

Commit

Permalink
MAGETWO-68977: fix for Class Magento\Framework\Console\CLI not found …
Browse files Browse the repository at this point in the history
…in case sensitive scenarious #9539
  • Loading branch information
ishakhsuvarov authored May 8, 2017
2 parents 5528fc2 + 1acc60d commit 6ee81f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Magento\Cron\Observer;

use Magento\Framework\App\State;
use Magento\Framework\Console\CLI;
use Magento\Framework\Console\Cli;
use Magento\Framework\Event\ObserverInterface;
use \Magento\Cron\Model\Schedule;

Expand Down Expand Up @@ -188,7 +188,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
) == 1
)) {
$this->_shell->execute(
$phpPath . ' %s cron:run --group=' . $groupId . ' --' . CLI::INPUT_KEY_BOOTSTRAP . '='
$phpPath . ' %s cron:run --group=' . $groupId . ' --' . Cli::INPUT_KEY_BOOTSTRAP . '='
. self::STANDALONE_PROCESS_STARTED . '=1',
[
BP . '/bin/magento'
Expand Down

0 comments on commit 6ee81f6

Please sign in to comment.