1234567891011121314151617181920212223242526272829 |
- <?php
- namespace OC\Files\Mount;
- use OCP\Files\Config\IHomeMountProvider;
- use OCP\Files\Storage\IStorageFactory;
- use OCP\IUser;
- class LocalHomeMountProvider implements IHomeMountProvider {
-
- public function getHomeMountForUser(IUser $user, IStorageFactory $loader) {
- $arguments = ['user' => $user];
- return new HomeMountPoint($user, '\OC\Files\Storage\Home', '/' . $user->getUID(), $arguments, $loader, null, null, self::class);
- }
- }
|