DDC-662 - Fix warning in ensureProductionSettings()
This commit is contained in:
parent
6479fcec68
commit
c5656eb039
@ -323,13 +323,13 @@ class Configuration extends \Doctrine\DBAL\Configuration
|
||||
*/
|
||||
public function ensureProductionSettings()
|
||||
{
|
||||
if ( ! $this->_attributes['queryCacheImpl']) {
|
||||
if ( !$this->getQueryCacheImpl()) {
|
||||
throw ORMException::queryCacheNotConfigured();
|
||||
}
|
||||
if ( ! $this->_attributes['metadataCacheImpl']) {
|
||||
if ( !$this->getMetadataCacheImpl()) {
|
||||
throw ORMException::metadataCacheNotConfigured();
|
||||
}
|
||||
if ($this->_attributes['autoGenerateProxyClasses']) {
|
||||
if ($this->getAutoGenerateProxyClasses()) {
|
||||
throw ORMException::proxyClassesAlwaysRegenerating();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user