[BUGFIX] Allow recursive folder deletion
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / Driver / LocalDriver.php
index 54e589c..36ecc3e 100644 (file)
@@ -581,6 +581,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver {
         *
         * @param string $fileIdentifier
         * @return string
+        * @throws Exception\InvalidPathException
         */
        protected function getAbsolutePath($fileIdentifier) {
                $relativeFilePath = ltrim($this->canonicalizeAndCheckFileIdentifier($fileIdentifier), '/');
@@ -1018,6 +1019,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver {
         * @param bool $deleteRecursively
         * @return bool
         * @throws Exception\FileOperationErrorException
+        * @throws Exception\InvalidPathException
         */
        public function deleteFolder($folderIdentifier, $deleteRecursively = FALSE) {
                $folderPath = $this->getAbsolutePath($folderIdentifier);