Skip to content
Permalink
Browse files

Fix typo in Database/ConnectionManager

  • Loading branch information...
gold1 committed Aug 31, 2013
1 parent 481a308 commit c43f375351b157d8c5f6c2f55a07a77f49a41bf8
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Database/ConnectionManager.php
@@ -79,11 +79,11 @@ public static function config($key, $config = null) {
*
* @param string $name The connection name.
* @return Connection A connection object.
* @throws Cake\Error\MissingDataSourceConfigException When config data is missing.
* @throws Cake\Error\MissingDatasourceConfigException When config data is missing.
*/
public static function get($name) {
if (empty(static::$_config[$name])) {
throw new Error\MissingDataSourceConfigException(['name' => $name]);
throw new Error\MissingDatasourceConfigException(['name' => $name]);
}
if (empty(static::$_registry)) {
static::$_registry = new ConnectionRegistry();

0 comments on commit c43f375

Please sign in to comment.
You can’t perform that action at this time.