Skip to content

Commit

Permalink
fix: Remove usage of non existing class
Browse files Browse the repository at this point in the history
  • Loading branch information
mitelg authored Jan 24, 2024
1 parent 00de043 commit c5ba778
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shopware/core/6.6/bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
use Shopware\Core\Framework\Plugin\KernelPluginLoader\DbalKernelPluginLoader;
use Shopware\Core\Framework\Plugin\KernelPluginLoader\StaticKernelPluginLoader;
use Shopware\Core\HttpKernel;
use Shopware\Core\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
Expand Down Expand Up @@ -41,7 +40,7 @@ return static function (array &$context) {
}

if (trim($context['DATABASE_URL'] ?? '') !== '' && !isset($context['INSTALL'])) {
$pluginLoader = new DbalKernelPluginLoader($classLoader, null, \Shopware\Core\Kernel::getConnection());
$pluginLoader = new DbalKernelPluginLoader($classLoader, null, Kernel::getConnection());
}

$kernel = KernelFactory::create(
Expand Down

0 comments on commit c5ba778

Please sign in to comment.