summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-02-08 12:23:48 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-08 12:24:18 +0100
commit41ba9280f7c73f608a0d74d60dba64821dcb32db (patch)
tree99dcc5d023c0cdc70395eca0dbc6c1bff910e8b0 /lib
parent97b2e19c786e037acd99e31aabbf193c805617dd (diff)
downloadnextcloud-server-41ba9280f7c73f608a0d74d60dba64821dcb32db.tar.gz
nextcloud-server-41ba9280f7c73f608a0d74d60dba64821dcb32db.zip
Make sure fileinfo exists when calling getCheckSum in node API
Diffstat (limited to 'lib')
-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();
}
}