aboutsummaryrefslogtreecommitdiffstats
path: root/includes/cache/HTMLFileCache.php
diff options
context:
space:
mode:
authorAaron Schulz <aschulz@wikimedia.org>2014-12-08 23:23:30 -0800
committerKunal Mehta <legoktm@gmail.com>2014-12-10 12:26:59 -0800
commite369f66d0029594d1ce289f7a505d3ce20250828 (patch)
treed86ce1bd14580a882b98fe1300ff93431032bece /includes/cache/HTMLFileCache.php
parent6662eb079e3c78ad61833a4326cf23eeddb78fa2 (diff)
downloadmediawikicore-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.php2
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 ) );
}
/**