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
3232 */
3333 private $ outputWriter ;
3434
35- /**
36- * @var Doctrine\MongoDB\Connection
37- */
38- protected $ connection ;
39-
40- /**
41- * @var Doctrine\MongoDB\Database
42- */
43- protected $ db ;
44-
4535 /**
4636 * @var AntiMattr\MongoDB\Migrations\Version
4737 */
@@ -51,10 +41,6 @@ public function __construct(Version $version)
5141 {
5242 $ this ->configuration = $ version ->getConfiguration ();
5343 $ this ->outputWriter = $ this ->configuration ->getOutputWriter ();
54- $ this ->connection = $ this ->configuration ->getConnection ();
55- $ this ->connection = $ this ->connection ->selectDatabase (
56- $ this ->configuration ->getMigrationsDatabaseName ()
57- );
5844 $ this ->version = $ version ;
5945 }
6046
You can’t perform that action at this time.
0 commit comments