Merge pull request #13584 from nextcloud/backport/13573/stable13
[stable13] Principals can be principal/user/<name> or principal/<name> from lega…
This commit is contained in:
commit
7cd4f9307c
|
@ -126,6 +126,6 @@ class RemoveClassifiedEventActivity implements IRepairStep {
|
|||
|
||||
protected function getPrincipal($principalUri) {
|
||||
$uri = explode('/', $principalUri);
|
||||
return $uri[2];
|
||||
return array_pop($uri);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue