1
0
Fork 0

Fix clear cache when a dir does not exist, fixes #3810

pull/3474/head
Jordi Boggiano 2015-03-02 16:40:05 +00:00
parent 664202e767
commit b098a2fdde
1 changed files with 2 additions and 2 deletions

View File

@ -53,13 +53,13 @@ EOT
if (!$cachePath) {
$io->writeError("<info>Cache directory does not exist ($key): $cachePath</info>");
return;
continue;
}
$cache = new Cache($io, $cachePath);
if (!$cache->isEnabled()) {
$io->writeError("<info>Cache is not enabled ($key): $cachePath</info>");
return;
continue;
}
$io->writeError("<info>Clearing cache ($key): $cachePath</info>");