diff --git a/AUTHORS b/AUTHORS index 107cbdd..4754f13 100644 --- a/AUTHORS +++ b/AUTHORS @@ -23,6 +23,8 @@ Much appreciated contributors: Ludovic Bellière Brian Armstrong Raphaël Emourgeon + Jakub Viták + Vladimir Solomatin And all the nice users who spent time reporting issues and promoting the project. The project could not live without them. diff --git a/src/IDF/Plugin/SyncGit/Cron.php b/src/IDF/Plugin/SyncGit/Cron.php index f8fe730..a60b60a 100644 --- a/src/IDF/Plugin/SyncGit/Cron.php +++ b/src/IDF/Plugin/SyncGit/Cron.php @@ -99,6 +99,7 @@ class IDF_Plugin_SyncGit_Cron if (count($orphans)) { $cmd = Pluf::f('idf_exec_cmd_prefix', '').'rm -rf '.implode(' ', $orphans); exec($cmd); + clearstatcache(); while (list(, $project) = each($orphans)) { if (is_dir($project)) { throw new Exception(sprintf('Cannot remove %s directory.', $project));