mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07: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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user