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
/
utils
/
MWCryptRand.php
diff --git
a/includes/utils/MWCryptRand.php
b/includes/utils/MWCryptRand.php
index
b602f78
..
5af4545
100644
(file)
--- a/
includes/utils/MWCryptRand.php
+++ b/
includes/utils/MWCryptRand.php
@@
-294,7
+294,6
@@
class MWCryptRand {
* @see self::generate()
*/
public function realGenerate( $bytes, $forceStrong = false ) {
* @see self::generate()
*/
public function realGenerate( $bytes, $forceStrong = false ) {
- wfProfileIn( __METHOD__ );
wfDebug( __METHOD__ . ": Generating cryptographic random bytes for " .
wfGetAllCallers( 5 ) . "\n" );
wfDebug( __METHOD__ . ": Generating cryptographic random bytes for " .
wfGetAllCallers( 5 ) . "\n" );
@@
-431,7
+430,6
@@
class MWCryptRand {
wfDebug( __METHOD__ . ": " . strlen( $buffer ) .
" bytes of randomness leftover in the buffer.\n" );
wfDebug( __METHOD__ . ": " . strlen( $buffer ) .
" bytes of randomness leftover in the buffer.\n" );
- wfProfileOut( __METHOD__ );
return $generated;
}
return $generated;
}