Commit d7e13737 authored by Mads Høgstedt Danquah's avatar Mads Høgstedt Danquah Committed by Thomas Fini Hansen
Browse files

Issue #3308549 by danquah: Remove unused cleanup code in deleteAll

parent e9f8673e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -329,12 +329,6 @@ class DeconfigStorage implements StorageInterface {
        $success = FALSE;
      }
    }
    if ($success && $this->collection != StorageInterface::DEFAULT_COLLECTION) {
      // Remove empty directories.
      if (!(new \FilesystemIterator($this->getCollectionDirectory()))->valid()) {
        $this->getFileSystem()->rmdir($this->getCollectionDirectory());
      }
    }
    return $success;
  }