Commit 1b207079 authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #302

parents 48712c21 1a32994f
...@@ -135,7 +135,7 @@ class CreateIndexes implements Executable ...@@ -135,7 +135,7 @@ class CreateIndexes implements Executable
$cmd['writeConcern'] = \MongoDB\write_concern_as_document($this->options['writeConcern']); $cmd['writeConcern'] = \MongoDB\write_concern_as_document($this->options['writeConcern']);
} }
$server->executeCommand($this->databaseName, new Command($cmd)); $server->executeCommand($this->databaseName, new Command($cmd));
} }
/** /**
......
...@@ -6,7 +6,6 @@ use MongoDB\Driver\Command; ...@@ -6,7 +6,6 @@ use MongoDB\Driver\Command;
use MongoDB\Driver\Cursor; use MongoDB\Driver\Cursor;
use MongoDB\Driver\ReadPreference; use MongoDB\Driver\ReadPreference;
use MongoDB\Driver\Server; use MongoDB\Driver\Server;
use MongoDB\Driver\Exception\RuntimeException as DriverRuntimeException;
use MongoDB\Exception\InvalidArgumentException; use MongoDB\Exception\InvalidArgumentException;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment