X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhistoryblob%2FHistoryBlobStub.php;h=9a4df1f81d04a4ff95b49c92e499b763292e3aa5;hb=b7d10160eb1c088ca3cb2fdf021562dffc61eabf;hp=4995d3b3f0bce91c5a859623129e2908ad8c7aae;hpb=09ee5d2505f99cc146f871307be7ac00b7368d76;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 ) ) {