X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Fsrc%2FCommand%2FCache%2FRebuildCommand.php;fp=vendor%2Fdrupal%2Fconsole%2Fsrc%2FCommand%2FCache%2FRebuildCommand.php;h=3ad5f0b984b755b816f5307ca81ba5472fafe70e;hp=c3a98ab3de2d30d6dfef94a96c91ba649b02ef65;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/drupal/console/src/Command/Cache/RebuildCommand.php b/vendor/drupal/console/src/Command/Cache/RebuildCommand.php index c3a98ab3d..3ad5f0b98 100644 --- a/vendor/drupal/console/src/Command/Cache/RebuildCommand.php +++ b/vendor/drupal/console/src/Command/Cache/RebuildCommand.php @@ -84,7 +84,7 @@ class RebuildCommand extends Command protected function execute(InputInterface $input, OutputInterface $output) { $io = new DrupalStyle($input, $output); - $cache = $input->getArgument('cache'); + $cache = $input->getArgument('cache')?:'all'; $this->site->loadLegacyFile('/core/includes/utility.inc'); if ($cache && !$this->drupalApi->isValidCache($cache)) {