protected function _setupDatabaseAdapter()
    {
        if (Zend_Registry::isRegistered('multidb')) {
            return $this->_setAdapter(Zend_Registry::get('multidb')->getDb($this->_connection));
        }

        return parent::_setupDatabaseAdapter();
    }