diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-02-08 12:23:48 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-08 12:24:18 +0100 |
commit | 41ba9280f7c73f608a0d74d60dba64821dcb32db (patch) | |
tree | 99dcc5d023c0cdc70395eca0dbc6c1bff910e8b0 | |
parent | 97b2e19c786e037acd99e31aabbf193c805617dd (diff) | |
download | nextcloud-server-41ba9280f7c73f608a0d74d60dba64821dcb32db.tar.gz nextcloud-server-41ba9280f7c73f608a0d74d60dba64821dcb32db.zip |
Make sure fileinfo exists when calling getCheckSum in node API
-rw-r--r-- | lib/private/files/node/file.php | 2 |
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(); } } |