From 3d50658e6dcf63694d0ea2691afd844091e05db8 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 6 Jan 2013 17:30:34 +0100 Subject: [PATCH] Remove orphan call to wfProfileOut() Also added spaces on line 247 per coding conventions. Change-Id: Ib63167d4371ac71ce7580fafefdb0eabc2e0b590 --- includes/HistoryBlob.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index 05c27feacb..55c2ae5e99 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -232,8 +232,6 @@ class HistoryBlobStub { * @return string */ function getText() { - $fname = 'HistoryBlobStub::getText'; - if( isset( self::$blobCache[$this->mOldId] ) ) { $obj = self::$blobCache[$this->mOldId]; } else { @@ -244,10 +242,9 @@ class HistoryBlobStub { } $flags = explode( ',', $row->old_flags ); if( in_array( 'external', $flags ) ) { - $url=$row->old_text; + $url = $row->old_text; $parts = explode( '://', $url, 2 ); if ( !isset( $parts[1] ) || $parts[1] == '' ) { - wfProfileOut( $fname ); return false; } $row->old_text = ExternalStore::fetchFromUrl($url); -- 2.20.1