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
Merge "Document return of void in Maintenance::execute"
[lhc/web/wiklou.git]
/
includes
/
cache
/
LinkCache.php
diff --git
a/includes/cache/LinkCache.php
b/includes/cache/LinkCache.php
index
2d08895
..
7cbb86f
100644
(file)
--- a/
includes/cache/LinkCache.php
+++ b/
includes/cache/LinkCache.php
@@
-321,7
+321,7
@@
class LinkCache {
*/
public function invalidateTitle( LinkTarget $title ) {
if ( $this->isCacheable( $title ) ) {
*/
public function invalidateTitle( LinkTarget $title ) {
if ( $this->isCacheable( $title ) ) {
- $cache =
ObjectCache::getMainWANInstance()
;
+ $cache =
$this->wanCache
;
$cache->delete(
$cache->makeKey( 'page', $title->getNamespace(), sha1( $title->getDBkey() ) )
);
$cache->delete(
$cache->makeKey( 'page', $title->getNamespace(), sha1( $title->getDBkey() ) )
);