Removing _with use.

This commit is contained in:
mark_story 2009-08-18 11:53:52 -04:00
parent a7499be154
commit f9e0ddfac6

View file

@ -239,8 +239,6 @@ class CakeSchema extends Object {
foreach ($Object->hasAndBelongsToMany as $Assoc => $assocData) {
if (isset($assocData['with'])) {
$class = $assocData['with'];
} elseif ($assocData['_with']) {
$class = $assocData['_with'];
}
if (is_object($Object->$class)) {
$table = $db->fullTableName($Object->$class, false);