Aude has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/115353

Change subject: fix reference to WikibaseRepo in client
......................................................................

fix reference to WikibaseRepo in client

Change-Id: Ie0242d804143991ab3eb02bac52a50567fd10f00
---
M client/includes/store/sql/DirectSqlStore.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/53/115353/1

diff --git a/client/includes/store/sql/DirectSqlStore.php 
b/client/includes/store/sql/DirectSqlStore.php
index eb74c22..2381681 100644
--- a/client/includes/store/sql/DirectSqlStore.php
+++ b/client/includes/store/sql/DirectSqlStore.php
@@ -5,7 +5,7 @@
 use Language;
 use Site;
 use ObjectCache;
-use Wikibase\Repo\WikibaseRepo;
+use Wikibase\Client\WikibaseClient;
 
 /**
  * Implementation of the client store interface using direct access to the 
repository's
@@ -87,7 +87,7 @@
                $this->repoWiki = $repoWiki;
                $this->language = $wikiLanguage;
 
-               $settings = WikibaseRepo::getDefaultInstance()->getSettings();
+               $settings = WikibaseClient::getDefaultInstance()->getSettings();
                $cachePrefix = $settings->getSetting( 'sharedCacheKeyPrefix' );
                $cacheDuration = $settings->getSetting( 'sharedCacheDuration' );
                $cacheType = $settings->getSetting( 'sharedCacheType' );
@@ -313,7 +313,7 @@
         * @return PropertyInfoTable
         */
        protected function newPropertyInfoTable() {
-               $usePropertyInfoTable = WikibaseRepo::getDefaultInstance()
+               $usePropertyInfoTable = WikibaseClient::getDefaultInstance()
                        ->getSettings()->getSetting( 'usePropertyInfoTable' );
 
                if ( $usePropertyInfoTable ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/115353
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0242d804143991ab3eb02bac52a50567fd10f00
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to