Skip to content

Commit

Permalink
Pass cacheMetadata option through to collection.
Browse files Browse the repository at this point in the history
Without this the metadata cache will *always* use `_cake_model_` which
is not how the code should work.
  • Loading branch information
markstory committed May 20, 2014
1 parent bdd3225 commit 463918b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Schema/Collection.php
Expand Up @@ -60,7 +60,7 @@ public function __construct(Connection $connection) {
$config = $this->_connection->config();

if (!empty($config['cacheMetadata'])) {
$this->cacheMetadata(true);
$this->cacheMetadata($config['cacheMetadata']);
}
}

Expand Down

0 comments on commit 463918b

Please sign in to comment.