dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Rename various $wikiId fields/parameters to $dbDomain in user classes"
[lhc/web/wiklou.git]
/
includes
/
historyblob
/
HistoryBlobStub.php
diff --git
a/includes/historyblob/HistoryBlobStub.php
b/includes/historyblob/HistoryBlobStub.php
index
4995d3b
..
9a4df1f
100644
(file)
--- a/
includes/historyblob/HistoryBlobStub.php
+++ b/
includes/historyblob/HistoryBlobStub.php
@@
-20,6
+20,8
@@
* @file
*/
* @file
*/
+use MediaWiki\MediaWikiServices;
+
/**
* Pointer object for an item within a CGZ blob stored in the text table.
*/
/**
* 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;
}
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 ) ) {
}
if ( !in_array( 'object', $flags ) ) {