diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-03-05 12:28:17 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-03-11 15:06:12 +0100 |
commit | e5c8fd37df9a5727bdfdf3664390b911a67a617a (patch) | |
tree | b0e797ab6319e66d6b994743bff7d709c00f7dfb /lib/public/files | |
parent | dbade1936206256f55f89c3f865be4046b8fb546 (diff) | |
download | nextcloud-server-e5c8fd37df9a5727bdfdf3664390b911a67a617a.tar.gz nextcloud-server-e5c8fd37df9a5727bdfdf3664390b911a67a617a.zip |
pass mountpoint to storage wrapper callback
Diffstat (limited to 'lib/public/files')
-rw-r--r-- | lib/public/files/storage/istoragefactory.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/files/storage/istoragefactory.php b/lib/public/files/storage/istoragefactory.php index 50c844af2e6..7d4fa55e418 100644 --- a/lib/public/files/storage/istoragefactory.php +++ b/lib/public/files/storage/istoragefactory.php @@ -7,6 +7,7 @@ */ namespace OCP\Files\Storage; +use OCP\Files\Mount\IMountPoint; /** * Creates storage instances and manages and applies storage wrappers @@ -25,10 +26,10 @@ interface IStorageFactory { public function addStorageWrapper($wrapperName, $callback); /** - * @param string|boolean $mountPoint + * @param \OCP\Files\Mount\IMountPoint $mountPoint * @param string $class * @param array $arguments * @return \OCP\Files\Storage */ - public function getInstance($mountPoint, $class, $arguments); + public function getInstance(IMountPoint $mountPoint, $class, $arguments); } |