aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Command/MoveCalendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Command/MoveCalendar.php')
-rw-r--r--apps/dav/lib/Command/MoveCalendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/MoveCalendar.php b/apps/dav/lib/Command/MoveCalendar.php
index 8b77eda47a3..e0b0b63ff66 100644
--- a/apps/dav/lib/Command/MoveCalendar.php
+++ b/apps/dav/lib/Command/MoveCalendar.php
@@ -212,7 +212,7 @@ class MoveCalendar extends Command {
private function checkShares(array $calendar, string $userOrigin, string $userDestination, bool $force = false): bool {
$shares = $this->calDav->getShares($calendar['id']);
foreach ($shares as $share) {
- list(, $prefix, $userOrGroup) = explode('/', $share['href'], 3);
+ [, $prefix, $userOrGroup] = explode('/', $share['href'], 3);
/**
* Check that user destination is member of the groups which whom the calendar was shared