summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Mount
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-08-09 15:52:13 +0200
committerRobin Appelman <robin@icewind.nl>2016-08-09 15:52:13 +0200
commita999420c7561791a30ac05ac389876f45aa6c11b (patch)
tree61a75d06f4cef5560732816dc518222e91a49532 /lib/private/Files/Mount
parentc04b0364acecc3b9c9bf5ee37d0e7db5b5b5234a (diff)
downloadnextcloud-server-a999420c7561791a30ac05ac389876f45aa6c11b.tar.gz
nextcloud-server-a999420c7561791a30ac05ac389876f45aa6c11b.zip
get shared storage storage id without setting up the storage
Diffstat (limited to 'lib/private/Files/Mount')
-rw-r--r--lib/private/Files/Mount/MountPoint.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Files/Mount/MountPoint.php b/lib/private/Files/Mount/MountPoint.php
index d6a6a5565ad..8b8f0574ae0 100644
--- a/lib/private/Files/Mount/MountPoint.php
+++ b/lib/private/Files/Mount/MountPoint.php
@@ -192,6 +192,13 @@ class MountPoint implements IMountPoint {
}
/**
+ * @return int
+ */
+ public function getNumericStorageId() {
+ return $this->getStorage()->getStorageCache()->getNumericId();
+ }
+
+ /**
* @param string $path
* @return string
*/