]> source.dussan.org Git - nextcloud-server.git/commitdiff
typos & unused var fixed
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 20 Aug 2013 15:20:36 +0000 (17:20 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 20 Aug 2013 15:20:36 +0000 (17:20 +0200)
lib/appframework/http/dispatcher.php
lib/appframework/http/downloadresponse.php

index ab5644274fa7ca8a69454e72bba1063c9bffb433..183854650fb915e3469da9fcb782f5b94721527e 100644 (file)
@@ -29,7 +29,7 @@ use \OC\AppFramework\Middleware\MiddlewareDispatcher;
 
 
 /**
- * Class to dispatch the request to the middleware disptacher
+ * Class to dispatch the request to the middleware dispatcher
  */
 class Dispatcher {
 
@@ -67,11 +67,10 @@ class Dispatcher {
                                $methodName);
                        $response = $controller->$methodName();
 
-
-               // if an exception appears, the middleware checks if it can handle the
-               // exception and creates a response. If no response is created, it is
-               // assumed that theres no middleware who can handle it and the error is
-               // thrown again
+                       // if an exception appears, the middleware checks if it can handle the
+                       // exception and creates a response. If no response is created, it is
+                       // assumed that theres no middleware who can handle it and the error is
+                       // thrown again
                } catch(\Exception $exception){
                        $response = $this->middlewareDispatcher->afterException(
                                $controller, $methodName, $exception);
index 5a0db325fe6252bcf992d1cabcd878ac51032a87..096e4fc83312162a8ab139fe28b5f5bdb72bcf2a 100644 (file)
@@ -30,7 +30,6 @@ namespace OC\AppFramework\Http;
  */
 abstract class DownloadResponse extends Response {
 
-       private $content;
        private $filename;
        private $contentType;