PermissionManager: fix timings not being stopped for default calculation (#3502)

This commit is contained in:
Muqsit Rayyan 2020-05-17 12:55:11 +05:00 committed by GitHub
parent 5a8917f6f2
commit 189f12a644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ class PermissionManager{
$this->defaultPerms[$permission->getName()] = $permission; $this->defaultPerms[$permission->getName()] = $permission;
$this->dirtyPermissibles(false); $this->dirtyPermissibles(false);
} }
Timings::$permissionDefaultTimer->startTiming(); Timings::$permissionDefaultTimer->stopTiming();
} }
private function dirtyPermissibles(bool $op) : void{ private function dirtyPermissibles(bool $op) : void{