X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhistoryblob%2FHistoryBlobStub.php;h=9a4df1f81d04a4ff95b49c92e499b763292e3aa5;hb=cca344a717b9e41b0e32e4915295cd36dd18bf83;hp=4995d3b3f0bce91c5a859623129e2908ad8c7aae;hpb=ee09d4f0ee2e592e721f00805735afcb9e3e7e22;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/historyblob/HistoryBlobStub.php b/includes/historyblob/HistoryBlobStub.php index 4995d3b3f0..9a4df1f81d 100644 --- a/includes/historyblob/HistoryBlobStub.php +++ b/includes/historyblob/HistoryBlobStub.php @@ -20,6 +20,8 @@ * @file */ +use MediaWiki\MediaWikiServices; + /** * Pointer object for an item within a CGZ blob stored in the text table. */ @@ -99,8 +101,9 @@ class HistoryBlobStub { if ( !isset( $parts[1] ) || $parts[1] == '' ) { return false; } - $row->old_text = ExternalStore::fetchFromURL( $url ); - + $row->old_text = MediaWikiServices::getInstance() + ->getExternalStoreAccess() + ->fetchFromURL( $url ); } if ( !in_array( 'object', $flags ) ) {