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
Remove obvious function-level profiling
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryTokens.php
diff --git
a/includes/api/ApiQueryTokens.php
b/includes/api/ApiQueryTokens.php
index
e8d7258
..
2e107ac
100644
(file)
--- a/
includes/api/ApiQueryTokens.php
+++ b/
includes/api/ApiQueryTokens.php
@@
-55,7
+55,6
@@
class ApiQueryTokens extends ApiQueryBase {
public static function getTokenTypeSalts() {
static $salts = null;
if ( !$salts ) {
public static function getTokenTypeSalts() {
static $salts = null;
if ( !$salts ) {
- wfProfileIn( __METHOD__ );
$salts = array(
'csrf' => '',
'watch' => 'watch',
$salts = array(
'csrf' => '',
'watch' => 'watch',
@@
-65,7
+64,6
@@
class ApiQueryTokens extends ApiQueryBase {
);
Hooks::run( 'ApiQueryTokensRegisterTypes', array( &$salts ) );
ksort( $salts );
);
Hooks::run( 'ApiQueryTokensRegisterTypes', array( &$salts ) );
ksort( $salts );
- wfProfileOut( __METHOD__ );
}
return $salts;
}
return $salts;