X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWikiFilePage.php;h=34f15c3aa6c893d22e8c69ce063064a3a8d2f401;hb=911d50b022587b966fadf8374b7bd739b7830732;hp=3e8a1ce6f1497095861dea56034f19a87ff55ec0;hpb=d0afaa88434ebcb442c6dda5c46080bbc8e86a53;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiFilePage.php b/includes/WikiFilePage.php index 3e8a1ce6f1..34f15c3aa6 100644 --- a/includes/WikiFilePage.php +++ b/includes/WikiFilePage.php @@ -47,7 +47,7 @@ class WikiFilePage extends WikiPage { } /** - * @param $file File: + * @param File $file */ public function setFile( $file ) { $this->mFile = $file; @@ -180,7 +180,8 @@ class WikiFilePage extends WikiPage { $this->mFile->upgradeRow(); $this->mFile->purgeCache( array( 'forThumbRefresh' => true ) ); } else { - wfDebug( 'ImagePage::doPurge no image for ' . $this->mFile->getName() . "; limiting purge to cache only\n" ); + wfDebug( 'ImagePage::doPurge no image for ' + . $this->mFile->getName() . "; limiting purge to cache only\n" ); // even if the file supposedly doesn't exist, force any cached information // to be updated (in case the cached information is wrong) $this->mFile->purgeCache( array( 'forThumbRefresh' => true ) );