1
0
Fork 0

Merge pull request #2405 from discordier/fix-upgrade-cache

Fix cache directory upgrading - do not try to (re)move the active cache dir.
pull/2415/head
Jordi Boggiano 2013-11-11 04:07:33 -08:00
commit 034ac85465
1 changed files with 3 additions and 1 deletions

View File

@ -118,10 +118,12 @@ class Factory
@rename($child, $dir.'/'.basename($child));
}
}
if ($config->get('cache-dir') != $oldPath) {
@rmdir($oldPath);
}
}
}
}
return $config;
}