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 Morris Jobke
parent 67eef4766a
commit c756dd4fea
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68

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