1
0
Fork 0

Fix cache directory upgrading - do not try to remove the destination directory.

pull/2405/head
Christian Schiffler 2013-11-07 23:33:38 +01:00
parent a045ab3459
commit fc4cc79a52
1 changed files with 3 additions and 1 deletions

View File

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