@@ -100,8 +100,7 @@ discard block |
||
| 100 | 100 | { |
| 101 | 101 | $valid |= $action->performAction($args); |
| 102 | 102 | break; |
| 103 | - } |
|
| 104 | - else |
|
| 103 | + } else |
|
| 105 | 104 | { |
| 106 | 105 | $valid = false; |
| 107 | 106 | } |
@@ -203,8 +202,7 @@ discard block |
||
| 203 | 202 | } |
| 204 | 203 | |
| 205 | 204 | return Prado::getApplication(); |
| 206 | - } |
|
| 207 | - else |
|
| 205 | + } else |
|
| 208 | 206 | { |
| 209 | 207 | PradoCommandLineInterpreter::printGreeting(); |
| 210 | 208 | echo '+'.str_repeat('-',77)."+\n"; |
@@ -552,8 +550,7 @@ discard block |
||
| 552 | 550 | { |
| 553 | 551 | echo '** Unable to find table or view "'.$tablename.'" in "'.$manager->getDbConnection()->getConnectionString()."\".\n"; |
| 554 | 552 | return false; |
| 555 | - } |
|
| 556 | - else |
|
| 553 | + } else |
|
| 557 | 554 | { |
| 558 | 555 | $properties = array(); |
| 559 | 556 | foreach($tableInfo->getColumns() as $field=>$column) |
@@ -697,8 +694,7 @@ discard block |
||
| 697 | 694 | $args = array($input[0],$input[1], $input[2],$app_dir,'soap'); |
| 698 | 695 | $cmd = new PradoCommandLineActiveRecordGen; |
| 699 | 696 | $cmd->performAction($args); |
| 700 | - } |
|
| 701 | - else |
|
| 697 | + } else |
|
| 702 | 698 | { |
| 703 | 699 | echo "\n Usage: generate table_name Application.pages.RecordClassName\n"; |
| 704 | 700 | } |