Add `IOptionHandler::init()`
authorMatthias Schmidt <gravatronics@live.com>
Sun, 2 Oct 2016 11:53:39 +0000 (13:53 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 2 Oct 2016 11:53:39 +0000 (13:53 +0200)
wcfsetup/install/files/lib/system/option/IOptionHandler.class.php
wcfsetup/install/files/lib/system/option/OptionHandler.class.php

index 21ba12a87b05f1ce7a3edd750024476fa3541b81..f22c8d1637951c7f7df986e33c099dbd22df2123 100644 (file)
@@ -64,4 +64,9 @@ interface IOptionHandler {
         * @return      array
         */
        public function save($categoryName = null, $optionPrefix = null);
+       
+       /**
+        * Initializes active options.
+        */
+       public function init();
 }
index 1c03a1d3a61df73705254edef5ce9a673698b74b..82ad3fea5e80eb514222455389e40ae46cf4ce08 100644 (file)
@@ -403,7 +403,7 @@ class OptionHandler implements IOptionHandler {
        }
        
        /**
-        * Initializes active options.
+        * @inheritDoc
         */
        public function init() {
                if (!$this->didInit) {