File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,24 +27,6 @@ public function __construct(UtopiaPool $pool)
2727 if (!($ resource instanceof Adapter)) {
2828 throw new DatabaseException ('Pool must contain instances of ' . Adapter::class);
2929 }
30-
31- // Run setters in case the pooled adapter has its own config
32- $ this ->setDatabase ($ resource ->getDatabase ());
33- $ this ->setNamespace ($ resource ->getNamespace ());
34- $ this ->setSharedTables ($ resource ->getSharedTables ());
35- $ this ->setTenant ($ resource ->getTenant ());
36-
37- if ($ resource ->getTimeout () > 0 ) {
38- $ this ->setTimeout ($ resource ->getTimeout ());
39- }
40- $ this ->resetDebug ();
41- foreach ($ resource ->getDebug () as $ key => $ value ) {
42- $ this ->setDebug ($ key , $ value );
43- }
44- $ this ->resetMetadata ();
45- foreach ($ resource ->getMetadata () as $ key => $ value ) {
46- $ this ->setMetadata ($ key , $ value );
47- }
4830 });
4931 }
5032
You can’t perform that action at this time.
0 commit comments