Also added spaces on line 247 per coding conventions.
Change-Id: Ib63167d4371ac71ce7580fafefdb0eabc2e0b590
* @return string
*/
function getText() {
- $fname = 'HistoryBlobStub::getText';
-
if( isset( self::$blobCache[$this->mOldId] ) ) {
$obj = self::$blobCache[$this->mOldId];
} else {
}
$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);