Skip to content

Commit 3376e87

Browse files
authored
Merge pull request #13582 from nextcloud/backport/13573/stable15
[stable15] Principals can be principal/user/<name> or principal/<name> from lega…
2 parents 9159809 + df2132c commit 3376e87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Migration/RemoveClassifiedEventActivity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,6 @@ protected function removeConfidentialUncensoredEventActivity(): int {
127127

128128
protected function getPrincipal(string $principalUri): string {
129129
$uri = explode('/', $principalUri);
130-
return $uri[2];
130+
return array_pop($uri);
131131
}
132132
}

0 commit comments

Comments
 (0)