Author: phpnut
Date: 7:29:04 PM, Monday, October 24, 2005
Message:
More work on changes to use CamelCase throughout the system. 

[1197]
Author: phpnut
Date: 2:57:08 PM, Monday, October 24, 2005
Message:
Removing unneeded calls to Inflector class

[1196]
Author: phpnut
Date: 2:39:30 PM, Monday, October 24, 2005
Message:
adding fix for Ticket #61


[1195]
Author: phpnut
Date: 11:19:43 AM, Monday, October 24, 2005
Message:
Adding fix for Ticket #47

[1194]
Author: phpnut
Date: 10:10:41 AM, Monday, October 24, 2005
Message:
Adding fix for Ticket #49


git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1199 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2005-10-25 00:33:08 +00:00
parent e2815b4a5c
commit c5e4f8cd79
10 changed files with 29 additions and 23 deletions

View file

@ -514,7 +514,7 @@ class Model extends Object
$this->{$className}->{$this->currentModel.'_insertsql'} = null;
break;
}
$this->tableToModel[$this->{$className}->table] = strtolower($className);
$this->tableToModel[$this->{$className}->table] = $className;
}
/**
@ -561,7 +561,7 @@ class Model extends Object
else
{
$this->table = $tableName;
$this->tableToModel[$this->table] = Inflector::underscore($this->name);
$this->tableToModel[$this->table] = $this->name;
$this->loadInfo();
}
}