From 8e2bc2bd719189e341365aa8b69ea3033b2dbd58 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Sep 2014 21:56:32 +0200 Subject: [PATCH] See #1640 --- wcfsetup/install/files/lib/data/option/Option.class.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wcfsetup/install/files/lib/data/option/Option.class.php b/wcfsetup/install/files/lib/data/option/Option.class.php index f5424d99ee..34358fa870 100644 --- a/wcfsetup/install/files/lib/data/option/Option.class.php +++ b/wcfsetup/install/files/lib/data/option/Option.class.php @@ -193,4 +193,13 @@ class Option extends DatabaseObject { public function modifyEnableOptions($enableOptions) { $this->data['enableOptions'] = $enableOptions; } + + /** + * Allows modifications of hidden option. + * + * @param string $hiddenOption + */ + public function modifyHiddenOption($hiddenOption) { + $this->data['hidden'] = $hiddenOption; + } } -- 2.20.1