Merge "Use a better regular expression to find documented hooks in findHooks.php"
[lhc/web/wiklou.git] / includes / specials / SpecialBlock.php
index 3b73a37..fa5ec29 100644 (file)
@@ -221,6 +221,9 @@ class SpecialBlock extends FormSpecialPage {
 
                $this->maybeAlterFormDefaults( $a );
 
+               // Allow extensions to add more fields
+               wfRunHooks( 'SpecialBlockModifyFormFields', array( $this, &$a ) );
+
                return $a;
        }