mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Principals can be principal/user/<name> or principal/<name> from legacy installs
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
27737ecc9f
commit
4149d428d3
1 changed files with 1 additions and 1 deletions
|
|
@ -127,6 +127,6 @@ class RemoveClassifiedEventActivity implements IRepairStep {
|
|||
|
||||
protected function getPrincipal(string $principalUri): string {
|
||||
$uri = explode('/', $principalUri);
|
||||
return $uri[2];
|
||||
return array_pop($uri);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue