aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-05 20:32:20 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-06 11:01:58 +0200
commit872c181c7478d153ad8388932367472d15ce0671 (patch)
tree0431dc32034b41856b979ba8d2afd3eb62e74d5c /lib/private/Files/Cache
parentd80277c340eb737537a582112130f96e9361d7dd (diff)
downloadnextcloud-server-872c181c7478d153ad8388932367472d15ce0671.tar.gz
nextcloud-server-872c181c7478d153ad8388932367472d15ce0671.zip
chore: Drop dead private methods in /lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Files/Cache')
-rw-r--r--lib/private/Files/Cache/Cache.php13
1 files changed, 0 insertions, 13 deletions
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
@@ -564,19 +564,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
*
* @param ICacheEntry $entry the cache entry of the folder to remove the children of