X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiTokens.php;h=f7290af9cbe8c74a3434b0406e2146c20ba823e1;hb=df96347d4761f2c9b9a522024c880b1fb520f04a;hp=2a60af99d75493547c20b5c19c1cb6367e69d084;hpb=566635008a4ccd11dfdaac1a6ef9ff428f75251c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiTokens.php b/includes/api/ApiTokens.php index 2a60af99d7..f7290af9cb 100644 --- a/includes/api/ApiTokens.php +++ b/includes/api/ApiTokens.php @@ -70,7 +70,7 @@ class ApiTokens extends ApiBase { foreach ( $names as $name ) { $types[$name] = array( 'ApiQueryInfo', 'get' . ucfirst( $name ) . 'Token' ); } - wfRunHooks( 'ApiTokensGetTokenTypes', array( &$types ) ); + Hooks::run( 'ApiTokensGetTokenTypes', array( &$types ) ); ksort( $types ); wfProfileOut( __METHOD__ );