diff --git a/developer_manual/app/filesystem.rst b/developer_manual/app/filesystem.rst index cec2c6138..5ad6edcec 100644 --- a/developer_manual/app/filesystem.rst +++ b/developer_manual/app/filesystem.rst @@ -96,7 +96,7 @@ Files and folders can also be accessed by id, by calling the **getById** method } public function getContent($id) { - // check if file exists and write to it if possible + // check if file exists and read from it if possible try { $file = $this->storage->getById($id); if($file instanceof \OCP\Files\File) {