UserBackend, fix action recursion guard
This commit is contained in:
@@ -264,7 +264,7 @@ final class UserBackend extends ABackend implements
|
|||||||
// avoid recursion as the action may very well call into the UserManager again ...
|
// avoid recursion as the action may very well call into the UserManager again ...
|
||||||
$actions = $this->actions;
|
$actions = $this->actions;
|
||||||
$this->actions = [];
|
$this->actions = [];
|
||||||
foreach ($this->actions as $action) {
|
foreach ($actions as $action) {
|
||||||
$action->doAction($user);
|
$action->doAction($user);
|
||||||
}
|
}
|
||||||
$this->actions = $actions;
|
$this->actions = $actions;
|
||||||
|
|||||||
Reference in New Issue
Block a user