summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-08 16:10:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-08 16:10:31 +0100
commitec399e6bbc5a16519433e11869e444fd7b198a25 (patch)
treec9b724fb1059a40eb1768e3a6016440518410620 /lib/private
parent33eed35ae439d6140d608987a2e94190fe26b3fa (diff)
parent1e8e00c541726418361be9bd28bf784ac5a90657 (diff)
downloadnextcloud-server-ec399e6bbc5a16519433e11869e444fd7b198a25.tar.gz
nextcloud-server-ec399e6bbc5a16519433e11869e444fd7b198a25.zip
Merge pull request #22200 from owncloud/node-checksum-resolvefileinfo
Make sure fileinfo exists when calling getCheckSum in node API
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/files/node/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/node/file.php b/lib/private/files/node/file.php
index cf163b9b763..f8279c00b8c 100644
--- a/lib/private/files/node/file.php
+++ b/lib/private/files/node/file.php
@@ -169,6 +169,6 @@ class File extends Node implements \OCP\Files\File {
* @inheritdoc
*/
public function getChecksum() {
- return $this->fileInfo->getChecksum();
+ return $this->getFileInfo()->getChecksum();
}
}