removing debug code from bake

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3688 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2006-10-15 20:57:56 +00:00
parent cefde59a76
commit 3e21696255

View file

@ -697,7 +697,6 @@ class Bake {
$joinTable = $this->getInput('What is the joinTable?'); $joinTable = $this->getInput('What is the joinTable?');
} }
$associations[$assocs[$assocType]] = array_values($associations[$assocs[$assocType]]); $associations[$assocs[$assocType]] = array_values($associations[$assocs[$assocType]]);
pr($associations[$assocs[$assocType]]);
$count = count($associations[$assocs[$assocType]]); $count = count($associations[$assocs[$assocType]]);
$i = ($count > 0) ? $count : 0; $i = ($count > 0) ? $count : 0;
$associations[$assocs[$assocType]][$i]['alias'] = $associationName; $associations[$assocs[$assocType]][$i]['alias'] = $associationName;