diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2014-12-08 23:23:30 -0800 |
---|---|---|
committer | Kunal Mehta <legoktm@gmail.com> | 2014-12-10 12:26:59 -0800 |
commit | e369f66d0029594d1ce289f7a505d3ce20250828 (patch) | |
tree | d86ce1bd14580a882b98fe1300ff93431032bece /includes/cache/HTMLFileCache.php | |
parent | 6662eb079e3c78ad61833a4326cf23eeddb78fa2 (diff) | |
download | mediawikicore-e369f66d0029594d1ce289f7a505d3ce20250828.tar.gz mediawikicore-e369f66d0029594d1ce289f7a505d3ce20250828.zip |
Replace wfRunHooks calls with direct Hooks::run calls
* This avoids the overhead of an extra function call
Change-Id: I8ee996f237fd111873ab51965bded3d91e61e4dd
Diffstat (limited to 'includes/cache/HTMLFileCache.php')
-rw-r--r-- | includes/cache/HTMLFileCache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/cache/HTMLFileCache.php b/includes/cache/HTMLFileCache.php index 58ca2dcd5e3f..c07032bf035a 100644 --- a/includes/cache/HTMLFileCache.php +++ b/includes/cache/HTMLFileCache.php @@ -131,7 +131,7 @@ class HTMLFileCache extends FileCacheBase { return false; } // Allow extensions to disable caching - return wfRunHooks( 'HTMLFileCache::useFileCache', array( $context ) ); + return Hooks::run( 'HTMLFileCache::useFileCache', array( $context ) ); } /** |