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
cf5a717e65
commit
df2132c0b1
|
@ -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 New Issue