Also set the queue types map when rebuilding the ready queue map
[lhc/web/wiklou.git] / includes / WikiFilePage.php
index 3e8a1ce..34f15c3 100644 (file)
@@ -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 ) );