aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-12-16 12:07:53 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-12-16 12:07:53 -0800
commit7964691645d5da511dceb87fc2e96bdf4f4e5425 (patch)
treee30f56964b9f52d5032dde072f8394181ff8a8ca
parente98e98f38d005f47d9656b9fd418a106f1af5134 (diff)
parentb02a15ceb8dd23a9e07df8a098bfae4a9f13df0d (diff)
downloadnextcloud-server-7964691645d5da511dceb87fc2e96bdf4f4e5425.tar.gz
nextcloud-server-7964691645d5da511dceb87fc2e96bdf4f4e5425.zip
Merge pull request #6447 from owncloud/fix_home_storage_quota
fix quota calculation for Home Storage
-rw-r--r--lib/files/storage/home.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/files/storage/home.php b/lib/files/storage/home.php
index 533fe5fe390..82924f9869a 100644
--- a/lib/files/storage/home.php
+++ b/lib/files/storage/home.php
@@ -28,4 +28,14 @@ class Home extends Local {
public function getId() {
return 'home::' . $this->user;
}
+
+ /**
+ * get the owner of a path
+ *
+ * @param string $path The path to get the owner
+ * @return string uid or false
+ */
+ public function getOwner($path) {
+ return $this->user;
+ }
}