diff --git a/src/ORM/Locator/TableLocator.php b/src/ORM/Locator/TableLocator.php index 8c29e777e26..745e8a06e9b 100644 --- a/src/ORM/Locator/TableLocator.php +++ b/src/ORM/Locator/TableLocator.php @@ -191,10 +191,6 @@ public function get($alias, array $options = []) $options += $this->_config[$alias]; } - if (empty($options['className'])) { - $options['className'] = Inflector::camelize($alias); - } - $className = $this->_getClassName($alias, $options); if ($className) { $options['className'] = $className;