We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c6c17 commit 03f11e5Copy full SHA for 03f11e5
src/app/code/community/IntegerNet/Solr/Model/Resource/Db.php
@@ -27,7 +27,7 @@ public function disconnectMysql()
27
}
28
29
/** @var Zend_Db_Adapter_Abstract $connection */
30
- foreach (Mage::getSingleton('core/resource')->getConnections() as $name => $connection) {
+ foreach ($coreResource->getConnections() as $name => $connection) {
31
if ($connection instanceof Zend_Db_Adapter_Abstract) {
32
if ($this->isTransactionOpen($connection)) {
33
continue;
0 commit comments