Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing unused property.

Removing broken dispatch pass-though method.
  • Loading branch information...
commit 8149e4f049a4cf3c3bb07d4b76e498351a3ef0c4 1 parent 25682db
@markstory markstory authored
Showing with 3 additions and 11 deletions.
  1. +3 −11 lib/Cake/Routing/Dispatcher.php
View
14 lib/Cake/Routing/Dispatcher.php
@@ -41,22 +41,14 @@
class Dispatcher {
/**
- * Response object used for asset/cached responses.
- *
- * @var CakeResponse
- */
- public $response = null;
-
-/**
* Constructor.
+ *
+ * @param string $base The base directory for the application. Writes `App.base` to Configure.
*/
- public function __construct($url = null, $base = false) {
+ public function __construct($base = false) {
if ($base !== false) {
Configure::write('App.base', $base);
}
- if ($url !== null) {
- $this->dispatch($url);
- }
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.