@@ -43,7 +43,6 @@ |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @param \OCP\IConfig $config |
46 | - * @param IManager $shareProvider |
|
47 | 46 | */ |
48 | 47 | public function __construct(IConfig $config, IManager $shareManager) { |
49 | 48 | $this->config = $config; |
@@ -22,8 +22,6 @@ |
||
22 | 22 | |
23 | 23 | namespace OCA\Files_Sharing; |
24 | 24 | |
25 | -use OC\Files\Filesystem; |
|
26 | -use OC\User\NoUserException; |
|
27 | 25 | use OCP\Files\Config\IMountProvider; |
28 | 26 | use OCP\Files\Storage\IStorageFactory; |
29 | 27 | use OCP\IConfig; |
@@ -262,6 +262,9 @@ discard block |
||
262 | 262 | return $this->newShare->getTarget(); |
263 | 263 | } |
264 | 264 | |
265 | + /** |
|
266 | + * @param string $path |
|
267 | + */ |
|
265 | 268 | public function setMountPoint($path) { |
266 | 269 | $this->newShare->setTarget($path); |
267 | 270 | } |
@@ -273,7 +276,7 @@ discard block |
||
273 | 276 | /** |
274 | 277 | * get share ID |
275 | 278 | * |
276 | - * @return integer unique share ID |
|
279 | + * @return string unique share ID |
|
277 | 280 | */ |
278 | 281 | public function getShareId() { |
279 | 282 | return $this->newShare->getId(); |