]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5996
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 15 Jun 2023 09:24:37 +0000 (11:24 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 15 Jun 2023 09:24:37 +0000 (11:24 +0200)
app/Models/Base/ToolboxSettingsModel.php

index 0545a7fd45707ca3891d812dbe4e51771457c47a..d0b52b4dcfc4708971dc4b760f597865a1582675 100644 (file)
@@ -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;
     }
 }