From: Aaron Schulz Date: Sat, 4 Apr 2009 17:28:08 +0000 (+0000) Subject: Fix profiling X-Git-Tag: 1.31.0-rc.0~42230 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=13d0f42fbdd1a757c779f0940402f8f7b4ef8a2e;p=lhc%2Fweb%2Fwiklou.git Fix profiling --- 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 );