Skip to content

Commit

Permalink
Remove psr/log from reimport command (#4184)
Browse files Browse the repository at this point in the history
  • Loading branch information
janette authored May 9, 2024
1 parent 6ee0767 commit 94d9297
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions modules/datastore/src/Commands/ReimportCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Drupal\common\DatasetInfo;
use Drupal\datastore\DatastoreService;
use Drush\Commands\DrushCommands;
use Psr\Log\LoggerInterface;

/**
* Drush command file for data store reimportation.
Expand Down Expand Up @@ -35,17 +34,13 @@ class ReimportCommands extends DrushCommands {
* The dkan.datastore.service service.
* @param \Drupal\common\DatasetInfo $dataset_info
* Dataset information service.
* @param \Psr\Log\LoggerInterface $loggerChannel
* Logger channel service.
*/
public function __construct(
DatastoreService $datastore_service,
DatasetInfo $dataset_info,
LoggerInterface $loggerChannel
DatasetInfo $dataset_info
) {
$this->datastoreService = $datastore_service;
$this->datasetInfo = $dataset_info;
$this->setLogger($loggerChannel);
parent::__construct();
}

Expand Down

0 comments on commit 94d9297

Please sign in to comment.