X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHistoryBlob.php;h=55c2ae5e99ffe6b68333c8dc86fc80db17a53aab;hb=97aee3863fcfdd985ef7180f5ecc4e68cd8203ee;hp=05c27feacbe83a8d55a97b38b4d6bdfcf87076bb;hpb=1162a32ef22973ba3c92b7b91c146deef217be10;p=lhc%2Fweb%2Fwiklou.git 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);