From: Stricted Date: Sat, 28 Dec 2013 14:30:43 +0000 (+0100) Subject: allow to modify enableoptions over eventlistener X-Git-Tag: 2.1.0_Alpha_1~368^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07ade600b632e3cf9a73083038bcc1e828c034c5;p=GitHub%2FWoltLab%2FWCF.git allow to modify enableoptions over eventlistener --- 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; + } }