Skip to content

Commit

Permalink
Add the database to the clear cache cmd & in the test/bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Xety committed Nov 4, 2016
1 parent b7dd99e commit 3035269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Shell/Task/ClearCacheTask.php
Expand Up @@ -15,6 +15,7 @@ class ClearCacheTask extends Shell
public function main()
{
Cache::clear(false, '_cake_core_');
Cache::clear(false, 'database');
Cache::clear(false, 'acl');
$this->out('<info>The</info> "<error>deployer clear_cache</error>" <info>command has been executed successfully !</info>', 2);
}
Expand Down
1 change: 1 addition & 0 deletions tests/bootstrap.php
Expand Up @@ -43,6 +43,7 @@
function cleanup_after_tests()
{
Cache::clear(false, 'analytics');
Cache::clear(false, 'database');
Cache::clear(false, 'acl');
}
}
Expand Down

0 comments on commit 3035269

Please sign in to comment.