summaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-21 15:36:24 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-21 15:36:24 +0100
commit3487a95eaba04e6ced29d86a7cba9151513a1703 (patch)
tree2a95f78568ebdbb8011286cba624144ef94ff6ee /lib/private/files/cache
parentdd98e6333f59de05e04a1bd6a887ff1554233e28 (diff)
downloadnextcloud-server-3487a95eaba04e6ced29d86a7cba9151513a1703.tar.gz
nextcloud-server-3487a95eaba04e6ced29d86a7cba9151513a1703.zip
Remove fileid parameter for getFolderContent
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r--lib/private/files/cache/cache.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php
index fcc7099bbc9..9b18257088c 100644
--- a/lib/private/files/cache/cache.php
+++ b/lib/private/files/cache/cache.php
@@ -162,13 +162,10 @@ class Cache {
* get the metadata of all files stored in $folder
*
* @param string $folder
- * @param int $fileId (optional) the file id of the folder
* @return array
*/
- public function getFolderContents($folder, $fileId = null) {
- if (is_null($fileId)) {
- $fileId = $this->getId($folder);
- }
+ public function getFolderContents($folder) {
+ $fileId = $this->getId($folder);
return $this->getFolderContentsById($fileId);
}