diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /extensions/ConfirmEdit/ConfirmEditHooks.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'extensions/ConfirmEdit/ConfirmEditHooks.php')
-rw-r--r-- | extensions/ConfirmEdit/ConfirmEditHooks.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/ConfirmEdit/ConfirmEditHooks.php b/extensions/ConfirmEdit/ConfirmEditHooks.php index 66e51991..bc85138d 100644 --- a/extensions/ConfirmEdit/ConfirmEditHooks.php +++ b/extensions/ConfirmEdit/ConfirmEditHooks.php @@ -55,8 +55,9 @@ class ConfirmEditHooks { return self::getInstance()->confirmEmailUser( $from, $to, $subject, $text, $error ); } - public static function APIGetAllowedParams( &$module, &$params ) { - return self::getInstance()->APIGetAllowedParams( $module, $params ); + // Default $flags to 1 for backwards-compatible behavior + public static function APIGetAllowedParams( &$module, &$params, $flags = 1 ) { + return self::getInstance()->APIGetAllowedParams( $module, $params, $flags ); } public static function APIGetParamDescription( &$module, &$desc ) { |