mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
minor cleanup
This commit is contained in:
parent
ef519621b4
commit
4b75c6b78e
1 changed files with 1 additions and 1 deletions
|
@ -972,7 +972,7 @@ class ModelTask extends Shell {
|
|||
$this->out(sprintf(__("Given your model named '%s',\nCake would expect a database table named '%s'", true), $modelName, $fullTableName));
|
||||
$tableIsGood = $this->in(__('Do you want to use this table?', true), array('y','n'), 'y');
|
||||
}
|
||||
if (low($tableIsGood) == 'n' || low($tableIsGood) == 'no') {
|
||||
if (strtolower($tableIsGood) == 'n') {
|
||||
$useTable = $this->in(__('What is the name of the table (enter "null" to use NO table)?', true));
|
||||
}
|
||||
return $useTable;
|
||||
|
|
Loading…
Add table
Reference in a new issue