mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
HttpServerConnection: Drop yet another superfluous CpuBoundWork
usage
This commit is contained in:
parent
5cc034b38f
commit
c9159494c0
@ -348,8 +348,6 @@ bool EnsureValidBody(
|
|||||||
Array::Ptr permissions = authenticatedUser->GetPermissions();
|
Array::Ptr permissions = authenticatedUser->GetPermissions();
|
||||||
|
|
||||||
if (permissions) {
|
if (permissions) {
|
||||||
CpuBoundWork evalPermissions (yc);
|
|
||||||
|
|
||||||
ObjectLock olock(permissions);
|
ObjectLock olock(permissions);
|
||||||
|
|
||||||
for (const Value& permissionInfo : permissions) {
|
for (const Value& permissionInfo : permissions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user