Merge "Use `text` element for current content model on Special:ChangeContentModel"
[lhc/web/wiklou.git] / includes / widget / ExpiryInputWidget.php
index be6e676..02f369a 100644 (file)
@@ -30,8 +30,6 @@ class ExpiryInputWidget extends Widget {
         * @param array $options Configuration options
         */
        public function __construct( Widget $relativeInput, array $options = [] ) {
-               $config = \RequestContext::getMain()->getConfig();
-
                parent::__construct( $options );
 
                $this->required = $options['required'] ?? false;