summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0b6a4b1144c..dfd581294a4 100644
--- a/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php
+++ b/apps/dav/lib/Migration/RemoveClassifiedEventActivity.php
@@ -126,6 +126,6 @@ class RemoveClassifiedEventActivity implements IRepairStep {
protected function getPrincipal($principalUri) {
$uri = explode('/', $principalUri);
- return $uri[2];
+ return array_pop($uri);
}
}