From 05d33ec9a3f6356751b032193a881925765b557e Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 2 Oct 2016 13:53:39 +0200 Subject: [PATCH] Add `IOptionHandler::init()` --- .../install/files/lib/system/option/IOptionHandler.class.php | 5 +++++ .../install/files/lib/system/option/OptionHandler.class.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/option/IOptionHandler.class.php b/wcfsetup/install/files/lib/system/option/IOptionHandler.class.php index 21ba12a87b..f22c8d1637 100644 --- a/wcfsetup/install/files/lib/system/option/IOptionHandler.class.php +++ b/wcfsetup/install/files/lib/system/option/IOptionHandler.class.php @@ -64,4 +64,9 @@ interface IOptionHandler { * @return array */ public function save($categoryName = null, $optionPrefix = null); + + /** + * Initializes active options. + */ + public function init(); } diff --git a/wcfsetup/install/files/lib/system/option/OptionHandler.class.php b/wcfsetup/install/files/lib/system/option/OptionHandler.class.php index 1c03a1d3a6..82ad3fea5e 100644 --- a/wcfsetup/install/files/lib/system/option/OptionHandler.class.php +++ b/wcfsetup/install/files/lib/system/option/OptionHandler.class.php @@ -403,7 +403,7 @@ class OptionHandler implements IOptionHandler { } /** - * Initializes active options. + * @inheritDoc */ public function init() { if (!$this->didInit) { -- 2.20.1