@@ -380,7 +380,6 @@ |
||
380 | 380 | /** |
381 | 381 | * get the number of disabled users in a group |
382 | 382 | * |
383 | - * @param string $search |
|
384 | 383 | * @return int|bool |
385 | 384 | */ |
386 | 385 | public function countDisabledInGroup(string $gid): int { |
@@ -106,7 +106,6 @@ |
||
106 | 106 | * @param string $ownerDisplayName display name of the user who shared the item |
107 | 107 | * @param string $sharedBy provider specific UID of the user who shared the resource |
108 | 108 | * @param string $sharedByDisplayName display name of the user who shared the resource |
109 | - * @param string $sharedSecret use to authenticate accross servers |
|
110 | 109 | * @param array $protocol (e,.g. ['name' => 'webdav', 'options' => ['username' => 'john', 'permissions' => 31]]) |
111 | 110 | * @param string $shareType ('group' or 'user' share) |
112 | 111 | * @param $resourceType ('file', 'calendar',...) |
@@ -324,9 +324,9 @@ discard block |
||
324 | 324 | * |
325 | 325 | * @param string $remoteDomain |
326 | 326 | * @param string $token |
327 | - * @param $remoteId id of the share |
|
327 | + * @param integer $remoteId id of the share |
|
328 | 328 | * @param string $feedback |
329 | - * @return mixed |
|
329 | + * @return boolean|null |
|
330 | 330 | */ |
331 | 331 | protected function tryOCMEndPoint($remoteDomain, $token, $remoteId, $feedback) { |
332 | 332 | switch ($feedback) { |
@@ -406,6 +406,9 @@ discard block |
||
406 | 406 | return $result; |
407 | 407 | } |
408 | 408 | |
409 | + /** |
|
410 | + * @param string $mountPoint |
|
411 | + */ |
|
409 | 412 | public function removeShare($mountPoint) { |
410 | 413 | |
411 | 414 | $mountPointObj = $this->mountManager->find($mountPoint); |