From: Vincent Vanwaelscappel Date: Thu, 15 Jun 2023 09:24:37 +0000 (+0200) Subject: wip #5996 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=61cd74cada3faa44249afe8ae59dd3a3d9132476;p=fluidbook-toolbox.git wip #5996 --- diff --git a/app/Models/Base/ToolboxSettingsModel.php b/app/Models/Base/ToolboxSettingsModel.php index 0545a7fd4..d0b52b4dc 100644 --- a/app/Models/Base/ToolboxSettingsModel.php +++ b/app/Models/Base/ToolboxSettingsModel.php @@ -37,10 +37,8 @@ class ToolboxSettingsModel extends ToolboxModel */ public function addSettingField($name, $type = 'Text', $label = '', $attributes = []) { - start_measure('add setting field ' . $name); $attributes = self::normalizeAttributes($name, $type, $label, $attributes); $res = $this->addField($name, $type, $label, array_merge(self::$defaultSettingsAttributes, $attributes)); - stop_measure('add setting field ' . $name); return $res; } }