summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Migration/RemoveClassifiedEventActivity.php')
-rw-r--r--apps/dav/lib/Migration/RemoveClassifiedEventActivity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php
index ad840d8100e..1829f57237a 100644
--- a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php
+++ b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php
@@ -127,6 +127,6 @@ class RemoveClassifiedEventActivity implements IRepairStep {
protected function getPrincipal(string $principalUri): string {
$uri = explode('/', $principalUri);
- return $uri[2];
+ return array_pop($uri);
}
}