mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
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:
parent
67eef4766a
commit
c756dd4fea
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user