Skip to content

Commit

Permalink
Replace class aliases deprecated in MediaWiki core
Browse files Browse the repository at this point in the history
  • Loading branch information
thiemowmde committed Mar 27, 2017
1 parent 37e390d commit d79a7c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/PropertySuggester/Suggesters/SimpleSuggester.php
Expand Up @@ -2,15 +2,15 @@

namespace PropertySuggester\Suggesters;

use LoadBalancer;
use InvalidArgumentException;
use LogicException;
use Wikibase\DataModel\Entity\EntityIdValue;
use Wikibase\DataModel\Entity\Int32EntityId;
use Wikibase\DataModel\Entity\Item;
use Wikibase\DataModel\Entity\PropertyId;
use Wikibase\DataModel\Snak\PropertyValueSnak;
use ResultWrapper;
use Wikimedia\Rdbms\LoadBalancer;
use Wikimedia\Rdbms\ResultWrapper;

/**
* a Suggester implementation that creates suggestion via MySQL
Expand Down
3 changes: 2 additions & 1 deletion src/PropertySuggester/UpdateTable/ImportContext.php
Expand Up @@ -2,7 +2,7 @@

namespace PropertySuggester\UpdateTable;

use LoadBalancer;
use Wikimedia\Rdbms\LoadBalancer;

/**
* Context for importing data from a csv file to a db table using a Importer strategy
Expand All @@ -11,6 +11,7 @@
* @licence GNU GPL v2+
*/
class ImportContext {

/**
* file system path to the CSV to load data from
* @var string
Expand Down

0 comments on commit d79a7c0

Please sign in to comment.