12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?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 MountPoint('\OC\Files\Storage\Home', '/' . $user->getUID(), $arguments, $loader, null, null, self::class);
- }
- }
|