From 73653c97426a5bb93a6c877f70236d1a2dfc63b8 Mon Sep 17 00:00:00 2001 From: Luca Fuser Date: Sat, 1 Aug 2026 10:20:40 +0200 Subject: [PATCH] fix: Remove unused `setConfig` calls in ThemeConfig and SystemConfig. --- Model/Activity/SystemConfig.php | 4 ---- Model/Activity/ThemeConfig.php | 1 - 2 files changed, 5 deletions(-) diff --git a/Model/Activity/SystemConfig.php b/Model/Activity/SystemConfig.php index e86e1f3..f5b81f1 100644 --- a/Model/Activity/SystemConfig.php +++ b/Model/Activity/SystemConfig.php @@ -118,10 +118,6 @@ public function getEditData(DataObject $model, $fieldArray): array { $logData = []; - $section = $this->getPath($model); - $model->setConfig('System Configuration'); - $model->setId($section); - $fullPath = (string)$model->getData('path'); $parts = explode('/', $fullPath); if (count($parts) < 3) { diff --git a/Model/Activity/ThemeConfig.php b/Model/Activity/ThemeConfig.php index 88a7ba9..2536987 100644 --- a/Model/Activity/ThemeConfig.php +++ b/Model/Activity/ThemeConfig.php @@ -82,7 +82,6 @@ public function getEditData(DataObject $model, array $fieldArray): array $oldData = $this->getOldData($model); $newData = $this->request->getPostValue(); $result = $this->collectAdditionalData($oldData, $newData, $fieldArray); - $model->setConfig('Theme Configuration'); $model->setId($path); return $result; }