diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-26 17:19:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-26 17:19:54 +0100 |
commit | 950e7e0467d9a486ea3f0987f38c787d3e16daec (patch) | |
tree | 22e98ee2913e724d8c7e7531e4345dccadee3545 /apps | |
parent | 612e875f609a89a09a2d0fa7c017f6f4f5b0e97d (diff) | |
parent | 30017e3364b502429b784e3054796679217200c9 (diff) | |
download | nextcloud-server-950e7e0467d9a486ea3f0987f38c787d3e16daec.tar.gz nextcloud-server-950e7e0467d9a486ea3f0987f38c787d3e16daec.zip |
Merge pull request #8455 from nextcloud/proper_mount_type_external
Properly set the mount type for external storages
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Config/ConfigAdapter.php | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Lib/PersonalMount.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php index efeb3d75586..34e96df0441 100644 --- a/apps/files_external/lib/Config/ConfigAdapter.php +++ b/apps/files_external/lib/Config/ConfigAdapter.php @@ -168,7 +168,7 @@ class ConfigAdapter implements IMountProvider { $storageConfig->getMountOptions() ); } else { - return new MountPoint( + return new ExternalMountPoint( $storage, '/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(), null, diff --git a/apps/files_external/lib/Lib/PersonalMount.php b/apps/files_external/lib/Lib/PersonalMount.php index c54ed0a79f3..8c8ac0893f6 100644 --- a/apps/files_external/lib/Lib/PersonalMount.php +++ b/apps/files_external/lib/Lib/PersonalMount.php @@ -24,14 +24,14 @@ namespace OCA\Files_External\Lib; -use OC\Files\Mount\MountPoint; use OC\Files\Mount\MoveableMount; +use OCA\Files_External\Config\ExternalMountPoint; use OCA\Files_External\Service\UserStoragesService; /** * Person mount points can be moved by the user */ -class PersonalMount extends MountPoint implements MoveableMount { +class PersonalMount extends ExternalMountPoint implements MoveableMount { /** @var UserStoragesService */ protected $storagesService; |