Without this the metadata cache will *always* use `_cake_model_` which is not how the code should work.
@@ -60,7 +60,7 @@ class Collection {
$config = $this->_connection->config();
if (!empty($config['cacheMetadata'])) {
- $this->cacheMetadata(true);
+ $this->cacheMetadata($config['cacheMetadata']);
}