aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/RemotePlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Collaboration/Collaborators/RemotePlugin.php')
-rw-r--r--lib/private/Collaboration/Collaborators/RemotePlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Collaboration/Collaborators/RemotePlugin.php b/lib/private/Collaboration/Collaborators/RemotePlugin.php
index 3d9b1f9847a..1fec2912ca1 100644
--- a/lib/private/Collaboration/Collaborators/RemotePlugin.php
+++ b/lib/private/Collaboration/Collaborators/RemotePlugin.php
@@ -87,7 +87,7 @@ class RemotePlugin implements ISearchPlugin {
$cloudIdType = $cloudIdData['type'];
}
try {
- list($remoteUser, $serverUrl) = $this->splitUserRemote($cloudId);
+ [$remoteUser, $serverUrl] = $this->splitUserRemote($cloudId);
} catch (\InvalidArgumentException $e) {
continue;
}
@@ -151,7 +151,7 @@ class RemotePlugin implements ISearchPlugin {
*/
if (!$searchResult->hasExactIdMatch($resultType) && $this->cloudIdManager->isValidCloudId($search) && $offset === 0) {
try {
- list($remoteUser, $serverUrl) = $this->splitUserRemote($search);
+ [$remoteUser, $serverUrl] = $this->splitUserRemote($search);
$localUser = $this->userManager->get($remoteUser);
if ($localUser === null || $search !== $localUser->getCloudId()) {
$result['exact'][] = [