removed useTable from bake model if it follows conventions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3677 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2006-10-15 06:06:49 +00:00
parent c9a209ec92
commit 878d786f05

View file

@ -733,7 +733,7 @@ class Bake {
// set it to null... // set it to null...
// putting $useTable in the model // putting $useTable in the model
// is unnecessary. // is unnecessary.
$modelTableName = null; $currentTableName = null;
} }
$this->bakeModel($currentModelName, $dbConnection, $currentTableName, $validate, $modelAssociations); $this->bakeModel($currentModelName, $dbConnection, $currentTableName, $validate, $modelAssociations);