Merge pull request #8455 from nextcloud/proper_mount_type_external
Properly set the mount type for external storages
This commit is contained in:
commit
950e7e0467
|
@ -168,7 +168,7 @@ class ConfigAdapter implements IMountProvider {
|
|||
$storageConfig->getMountOptions()
|
||||
);
|
||||
} else {
|
||||
return new MountPoint(
|
||||
return new ExternalMountPoint(
|
||||
$storage,
|
||||
'/' . $user->getUID() . '/files' . $storageConfig->getMountPoint(),
|
||||
null,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue