From c0d465e3b168b87ef0f767bdd29d0e731f78fb7f Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 21 Dec 2015 13:43:48 +0100 Subject: [PATCH] a style no longer needs a description --- wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php index 481f03e27b..d1e370fd4b 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php @@ -303,11 +303,6 @@ class StyleAddForm extends AbstractForm { } } - // validate style description - if (!I18nHandler::getInstance()->validateValue('styleDescription', true, true)) { - throw new UserInputException('styleDescription'); - } - // validate template group id if ($this->templateGroupID) { if (!isset($this->availableTemplateGroups[$this->templateGroupID])) { -- 2.20.1