From 13d0f42fbdd1a757c779f0940402f8f7b4ef8a2e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 4 Apr 2009 17:28:08 +0000 Subject: [PATCH] Fix profiling --- includes/filerepo/LocalFile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 7a3a0bd203..04703d9901 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -148,6 +148,7 @@ class LocalFile extends File $this->dataLoaded = false; $key = $this->getCacheKey(); if ( !$key ) { + wfProfileOut( __METHOD__ ); return false; } $cachedValues = $wgMemc->get( $key ); -- 2.20.1