From 872c181c7478d153ad8388932367472d15ce0671 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Jun 2023 20:32:20 +0200 Subject: chore: Drop dead private methods in /lib Signed-off-by: Christoph Wurst --- lib/private/Files/Cache/Cache.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/private/Files/Cache') diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 5af15700764..5aa05683631 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -563,19 +563,6 @@ class Cache implements ICache { } } - /** - * Get all sub folders of a folder - * - * @param ICacheEntry $entry the cache entry of the folder to get the subfolders for - * @return ICacheEntry[] the cache entries for the subfolders - */ - private function getSubFolders(ICacheEntry $entry) { - $children = $this->getFolderContentsById($entry->getId()); - return array_filter($children, function ($child) { - return $child->getMimeType() == FileInfo::MIMETYPE_FOLDER; - }); - } - /** * Remove all children of a folder * -- cgit v1.2.3