Skip to content

Commit

Permalink
fix: use the correct class for mapping dsn classes
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Nov 12, 2016
1 parent bfc196b commit 29650a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/bootstrap.php
Expand Up @@ -46,7 +46,6 @@
use Cake\Core\Plugin;
use Cake\Database\Type;
use Cake\Datasource\ConnectionManager;
use Cake\Datasource\ConnectionRegistry;
use Cake\Error\ErrorHandler;
use Cake\Log\Log;
use Cake\Mailer\Email;
Expand Down Expand Up @@ -182,7 +181,7 @@
*/

Plugin::load('Cake/ElasticSearch', ['bootstrap' => true]);
ConnectionRegistry::dsnClassMap([
ConnectionManager::dsnClassMap([
'elasticsearch' => 'Cake\ElasticSearch\Datasource\Connection',
]);

Expand Down

0 comments on commit 29650a5

Please sign in to comment.