mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
c9a209ec92
commit
878d786f05
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue