Skip to content

Commit

Permalink
* Revert renaming of ClearCacheCommand to ensure CLI GPM upgrades g…
Browse files Browse the repository at this point in the history
…o smoothly
  • Loading branch information
rhukster committed Apr 12, 2019
1 parent 4b777f5 commit 7762f0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
# v1.6.2
## 04/11/2019

1. [](#bugfix)
* Revert renaming of `ClearCacheCommand` to ensure GPM upgrades go smoothly

# v1.6.1
## 04/11/2019

Expand Down
Expand Up @@ -13,7 +13,7 @@
use Grav\Console\ConsoleCommand;
use Symfony\Component\Console\Input\InputOption;

class CacheCommand extends ConsoleCommand
class ClearCacheCommand extends ConsoleCommand
{
protected function configure()
{
Expand Down
4 changes: 2 additions & 2 deletions system/src/Grav/Console/ConsoleTrait.php
Expand Up @@ -13,7 +13,7 @@
use Grav\Common\Grav;
use Grav\Common\Composer;
use Grav\Common\GravTrait;
use Grav\Console\Cli\CacheCommand;
use Grav\Console\Cli\ClearCacheCommand;
use RocketTheme\Toolbox\File\YamlFile;
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
use Symfony\Component\Console\Input\ArrayInput;
Expand Down Expand Up @@ -107,7 +107,7 @@ public function clearCache($all = [])
$all = ['--all' => true];
}

$command = new CacheCommand();
$command = new ClearCacheCommand();
$input = new ArrayInput($all);
return $command->run($input, $this->output);
}
Expand Down

0 comments on commit 7762f0c

Please sign in to comment.