Permalink
Browse files

Remove invalid code.

Fixes #4002
  • Loading branch information...
1 parent b711d38 commit 67855896efb5d8e943dcf4e7dfa5991411a20c9a @markstory markstory committed Aug 20, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Console/Command/ConsoleShell.php
@@ -440,7 +440,6 @@ protected function _columns($command) {
protected function _routesReload() {
if (!$this->_loadRoutes()) {
$this->err(__d('cake_console', "There was an error loading the routes config. Please check that the file exists and is free of parse errors."));
- break;
}
$this->out(__d('cake_console', "Routes configuration reloaded, %d routes connected", count(Router::$routes)));
}

2 comments on commit 6785589

Member

dereuromark replied Aug 20, 2013

Shouldnt that be return $this->error() then instead? The second message then just says "ok" again, kind of the opposite. And the code continues.

Owner

markstory replied Aug 20, 2013

Yeah it should. I'll fix that.

Please sign in to comment.