aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-14 15:22:53 +0100
committerGitHub <noreply@github.com>2019-01-14 15:22:53 +0100
commitf8e0203354160e29f9882bb94516d014710656b9 (patch)
tree14081d0f5746b232d8bb0aedd4f61da5b4a52b39
parent64b3ac63afed2f4ff17ae1c7b32d872140943cc8 (diff)
parentf083f211f6b5d293f6f1254d2f3be282cf8244ba (diff)
downloadnextcloud-server-f8e0203354160e29f9882bb94516d014710656b9.tar.gz
nextcloud-server-f8e0203354160e29f9882bb94516d014710656b9.zip
Merge pull request #13583 from nextcloud/backport/13573/stable14
[stable14] Principals can be principal/user/<name> or principal/<name> from lega…
-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);
}
}