X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTitle.php;h=66a6ce5c52d0b72ada2d1d7a98dab7a702849993;hb=c58873fb4213447615761a55fd2be72fa53f8ec2;hp=14915e58ed379b33f734e88849b3fa0c68f72951;hpb=ca15b909fbdd6d1bad1a8de92bfd71cfc9053896;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index 14915e58ed..66a6ce5c52 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3448,6 +3448,7 @@ class Title { } } + wfRunHooks( 'TitleSquidURLs', array( $this, &$urls ) ); return $urls; } @@ -4504,18 +4505,8 @@ class Title { $method ); } ); - HTMLFileCache::clearFileCache( $this ); - // Clear page info. - $revision = WikiPage::factory( $this )->getRevision(); - if ( $revision !== null ) { - $memcKey = wfMemcKey( 'infoaction', $this->getPrefixedText(), $revision->getId() ); - $success = $wgMemc->delete( $memcKey ); - } else { - $success = true; - } - - return $success; + return true; } /**