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
dcd1dbb609
commit
3f2d77faf2
|
@ -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