mirror of
https://github.com/nextcloud/server.git
synced 2026-02-22 17:31:10 -05:00
refactor(teams): adjust expected itemType and remove remote group type from member search controller
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
This commit is contained in:
parent
bc24c28529
commit
1136ce09cb
1 changed files with 1 additions and 5 deletions
|
|
@ -143,7 +143,7 @@ class ShareesAPIController extends OCSController {
|
|||
if ($this->shareManager->shareProviderExists(IShare::TYPE_ROOM)) {
|
||||
$shareTypes[] = IShare::TYPE_ROOM;
|
||||
}
|
||||
} elseif ($itemType === 'contacts') {
|
||||
} elseif ($itemType === 'teams') {
|
||||
if ($this->shareManager->allowGroupSharing()) {
|
||||
$shareTypes[] = IShare::TYPE_GROUP;
|
||||
}
|
||||
|
|
@ -152,10 +152,6 @@ class ShareesAPIController extends OCSController {
|
|||
$shareTypes[] = IShare::TYPE_REMOTE;
|
||||
}
|
||||
|
||||
if ($this->federatedShareProvider->isOutgoingServer2serverGroupShareEnabled()) {
|
||||
$shareTypes[] = IShare::TYPE_REMOTE_GROUP;
|
||||
}
|
||||
|
||||
$shareTypes[] = IShare::TYPE_EMAIL;
|
||||
} else {
|
||||
if ($this->shareManager->allowGroupSharing()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue