From 07ade600b632e3cf9a73083038bcc1e828c034c5 Mon Sep 17 00:00:00 2001 From: Stricted Date: Sat, 28 Dec 2013 15:30:43 +0100 Subject: [PATCH] allow to modify enableoptions over eventlistener --- 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 adc61e1d66..29486daf92 100644 --- a/wcfsetup/install/files/lib/data/option/Option.class.php +++ b/wcfsetup/install/files/lib/data/option/Option.class.php @@ -184,4 +184,13 @@ class Option extends DatabaseObject { public function modifySelectOptions($selectOptions) { $this->data['selectOptions'] = $selectOptions; } + + /** + * Allows modifications of enable options. + * + * @param string $enableOptions + */ + public function modifyEnableOptions($enableOptions) { + $this->data['enableOptions'] = $enableOptions; + } } -- 2.20.1