]> _ Git - cubist_util.git/commitdiff
wip #7181 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Nov 2024 18:12:58 +0000 (19:12 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Nov 2024 18:12:58 +0000 (19:12 +0100)
src/Files/VirtualDirectory.php

index e5b971e30cbae98ed26d69cb8217e171358d03a0..17996e0468885dd2e8d184427fc6bd63a6fc3f53 100644 (file)
@@ -212,6 +212,8 @@ class VirtualDirectory
                 @unlink($path);
             }
         }
+        // Remove empty directories
+        `find $this->_path -type d -empty -print`;
     }
 
     public function path($local)