We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ba8fb commit c266649Copy full SHA for c266649
lib/Mount/GroupFolderStorage.php
@@ -54,11 +54,16 @@ public function getFolderId(): int {
54
* @psalm-suppress FalsableReturnStatement Return type of getOwner is not clear even in server
55
*/
56
public function getOwner($path) {
57
+ if ($this->mountOwner !== null) {
58
+ return $this->mountOwner->getUID();
59
+ }
60
+
61
$user = $this->userSession->getUser();
62
if ($user !== null) {
63
return $user->getUID();
64
}
- return $this->mountOwner !== null ? $this->mountOwner->getUID() : false;
65
66
+ return false;
67
68
69
public function getCache($path = '', $storage = null) {
0 commit comments