minor cleanup

This commit is contained in:
mark_story 2009-05-10 12:43:38 -04:00
parent ef519621b4
commit 4b75c6b78e

View file

@ -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;