aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/ObjectStore/HomeObjectStoreStorage.php')
-rw-r--r--lib/private/Files/ObjectStore/HomeObjectStoreStorage.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php b/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php
index b543d223f4c..daf6b5c83c9 100644
--- a/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/HomeObjectStoreStorage.php
@@ -14,12 +14,6 @@ use OCP\IUser;
class HomeObjectStoreStorage extends ObjectStoreStorage implements IHomeStorage {
protected IUser $user;
- /**
- * The home user storage requires a user object to create a unique storage id
- *
- * @param array $params
- * @throws Exception
- */
public function __construct($params) {
if (! isset($params['user']) || ! $params['user'] instanceof IUser) {
throw new Exception('missing user object in parameters');
@@ -32,12 +26,6 @@ class HomeObjectStoreStorage extends ObjectStoreStorage implements IHomeStorage
return 'object::user:' . $this->user->getUID();
}
- /**
- * get the owner of a path
- *
- * @param string $path The path to get the owner
- * @return string uid
- */
public function getOwner($path): string {
return $this->user->getUID();
}