dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API: Avoid unstubbing User for language pref when not needed
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryTokens.php
diff --git
a/includes/api/ApiQueryTokens.php
b/includes/api/ApiQueryTokens.php
index
279e8e3
..
e8d7258
100644
(file)
--- a/
includes/api/ApiQueryTokens.php
+++ b/
includes/api/ApiQueryTokens.php
@@
-63,7
+63,7
@@
class ApiQueryTokens extends ApiQueryBase {
'rollback' => 'rollback',
'userrights' => 'userrights',
);
-
wfRunHooks
( 'ApiQueryTokensRegisterTypes', array( &$salts ) );
+
Hooks::run
( 'ApiQueryTokensRegisterTypes', array( &$salts ) );
ksort( $salts );
wfProfileOut( __METHOD__ );
}