From: Platonides Date: Sun, 6 Jan 2013 16:30:34 +0000 (+0100) Subject: Remove orphan call to wfProfileOut() X-Git-Tag: 1.31.0-rc.0~21125^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=3d50658e6dcf63694d0ea2691afd844091e05db8;p=lhc%2Fweb%2Fwiklou.git Remove orphan call to wfProfileOut() Also added spaces on line 247 per coding conventions. Change-Id: Ib63167d4371ac71ce7580fafefdb0eabc2e0b590 --- 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);