Code Comment Correction

Fixes #329.

This correction fixes a comment mistake because it was copy pasted from the above section.
This commit is contained in:
Hugo Martins
2017-10-29 21:27:43 +00:00
committed by GitHub
parent 86ac31c17d
commit b26581f980

View File

@@ -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) {