Skip to content

Commit

Permalink
Making dispatcher constructor public and removing return statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Apr 9, 2010
1 parent e4d292b commit 94603b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/dispatcher.php
Expand Up @@ -72,12 +72,12 @@ class Dispatcher extends Object {
/**
* Constructor.
*/
function __construct($url = null, $base = false) {
public function __construct($url = null, $base = false) {
if ($base !== false) {
Configure::write('App.base', $base);
}
if ($url !== null) {
return $this->dispatch($url);
$this->dispatch($url);
}
}

Expand Down

0 comments on commit 94603b2

Please sign in to comment.