summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connector/sabre/file.php')
-rw-r--r--lib/connector/sabre/file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connector/sabre/file.php b/lib/connector/sabre/file.php
index f2efe0a5ac1..3ba1b3355f2 100644
--- a/lib/connector/sabre/file.php
+++ b/lib/connector/sabre/file.php
@@ -63,8 +63,8 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
* @return int
*/
public function getSize() {
-
- return OC_Filesystem::filesize($this->path);
+ $this->stat();
+ return $this->stat_cache['size'];
}