Remove spammy wfDebug() from LocalFile::loadFromCache()
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 11 Nov 2015 21:36:53 +0000 (13:36 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 11 Nov 2015 21:36:53 +0000 (13:36 -0800)
Change-Id: I36ad31f197ec8f71c97e6a8673ac5ca979f8d9ab

includes/filerepo/file/LocalFile.php

index 12d4007..1a33538 100644 (file)
@@ -256,7 +256,6 @@ class LocalFile extends File {
 
                // Check if the key existed and belongs to this version of MediaWiki
                if ( is_array( $cachedValues ) && $cachedValues['version'] == MW_FILE_VERSION ) {
-                       wfDebug( "Pulling file metadata from cache key $key\n" );
                        $this->fileExists = $cachedValues['fileExists'];
                        if ( $this->fileExists ) {
                                $this->setProps( $cachedValues );