Remove fileid parameter for getFolderContent
This commit is contained in:
parent
dd98e6333f
commit
3487a95eab
|
@ -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)) {
|
||||
public function getFolderContents($folder) {
|
||||
$fileId = $this->getId($folder);
|
||||
}
|
||||
return $this->getFolderContentsById($fileId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue