X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Flib%2FDrush%2FBoot%2FDrupalBoot8.php;fp=vendor%2Fdrush%2Fdrush%2Flib%2FDrush%2FBoot%2FDrupalBoot8.php;h=468e963aae8d642defba8a02b91899dc32b9b345;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hp=f427571b378d345e23b82b39850c80478f51194d;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/drush/drush/lib/Drush/Boot/DrupalBoot8.php b/vendor/drush/drush/lib/Drush/Boot/DrupalBoot8.php index f427571b3..468e963aa 100644 --- a/vendor/drush/drush/lib/Drush/Boot/DrupalBoot8.php +++ b/vendor/drush/drush/lib/Drush/Boot/DrupalBoot8.php @@ -4,11 +4,9 @@ namespace Drush\Boot; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use Psr\Log\LoggerInterface; use Drupal\Core\DrupalKernel; use Drush\Drupal\DrupalKernel as DrushDrupalKernel; -use Drush\Drupal\DrushServiceModfier; -use Symfony\Component\DependencyInjection\Reference; +use Drush\Drupal\DrushServiceModifier; use Drush\Log\LogLevel; @@ -128,7 +126,7 @@ class DrupalBoot8 extends DrupalBoot { $this->kernel = DrushDrupalKernel::createFromRequest($this->request, $classloader, 'prod'); } // @see Drush\Drupal\DrupalKernel::addServiceModifier() - $this->kernel->addServiceModifier(new DrushServiceModfier()); + $this->kernel->addServiceModifier(new DrushServiceModifier()); // Unset drupal error handler and restore Drush's one. restore_error_handler(); @@ -145,7 +143,6 @@ class DrupalBoot8 extends DrupalBoot { if (!drush_get_context('DRUSH_QUIET', FALSE)) { ob_start(); } - $this->kernel->invalidateContainer(); $this->kernel->boot(); $this->kernel->prepareLegacyRequest($this->request); if (!drush_get_context('DRUSH_QUIET', FALSE)) {