Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Mount/GroupMountPoint.php')
-rw-r--r--lib/Mount/GroupMountPoint.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/Mount/GroupMountPoint.php b/lib/Mount/GroupMountPoint.php
index 9aaa41e0..d1d431ef 100644
--- a/lib/Mount/GroupMountPoint.php
+++ b/lib/Mount/GroupMountPoint.php
@@ -22,8 +22,9 @@
namespace OCA\GroupFolders\Mount;
use OC\Files\Mount\MountPoint;
+use OCP\Files\Mount\ISystemMountPoint;
-class GroupMountPoint extends MountPoint {
+class GroupMountPoint extends MountPoint implements ISystemMountPoint {
/** @var int */
private $folderId;
@@ -36,17 +37,6 @@ class GroupMountPoint extends MountPoint {
return 'group';
}
- public function getOption($name, $default) {
- $options = $this->getOptions();
- return isset($options[$name]) ? $options[$name] : $default;
- }
-
- public function getOptions() {
- $options = parent::getOptions();
- $options['encrypt'] = false;
- return $options;
- }
-
public function getFolderId(): int {
return $this->folderId;
}