File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/AntiMattr/MongoDB/Migrations Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,6 @@ abstract class AbstractMigration
32
32
*/
33
33
private $ outputWriter ;
34
34
35
- /**
36
- * @var Doctrine\MongoDB\Connection
37
- */
38
- protected $ connection ;
39
-
40
- /**
41
- * @var Doctrine\MongoDB\Database
42
- */
43
- protected $ db ;
44
-
45
35
/**
46
36
* @var AntiMattr\MongoDB\Migrations\Version
47
37
*/
@@ -51,10 +41,6 @@ public function __construct(Version $version)
51
41
{
52
42
$ this ->configuration = $ version ->getConfiguration ();
53
43
$ this ->outputWriter = $ this ->configuration ->getOutputWriter ();
54
- $ this ->connection = $ this ->configuration ->getConnection ();
55
- $ this ->connection = $ this ->connection ->selectDatabase (
56
- $ this ->configuration ->getMigrationsDatabaseName ()
57
- );
58
44
$ this ->version = $ version ;
59
45
}
60
46
You can’t perform that action at this time.
0 commit comments