File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 15
15
use Doctrine \DBAL \DriverManager ;
16
16
use Doctrine \DBAL \Schema \DefaultSchemaManagerFactory ;
17
17
use Doctrine \DBAL \Tools \DsnParser ;
18
- use Doctrine \ORM \ORMSetup ;
19
18
use Symfony \Component \Cache \Adapter \AbstractAdapter ;
20
19
use Symfony \Component \Cache \Traits \RedisClusterProxy ;
21
20
use Symfony \Component \Cache \Traits \RedisProxy ;
@@ -77,7 +76,7 @@ public static function createHandler($connection): AbstractSessionHandler
77
76
}
78
77
$ connection [3 ] = '- ' ;
79
78
$ params = class_exists (DsnParser::class) ? (new DsnParser ())->parse ($ connection ) : ['url ' => $ connection ];
80
- $ config = class_exists (ORMSetup::class) ? ORMSetup:: createConfiguration ( true ) : new Configuration ();
79
+ $ config = new Configuration ();
81
80
if (class_exists (DefaultSchemaManagerFactory::class)) {
82
81
$ config ->setSchemaManagerFactory (new DefaultSchemaManagerFactory ());
83
82
}
You can’t perform that action at this time.
0 commit comments