diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-20 17:20:36 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-20 17:20:36 +0200 |
commit | cdada78aa4acd2880e0344a476d3c1d838645ae5 (patch) | |
tree | ae5561c74cd227790b8fe5a9efdbb53df147e213 /lib/appframework | |
parent | 0fa8f380767369b4aa85f5944a8e921009b1ed27 (diff) | |
download | nextcloud-server-cdada78aa4acd2880e0344a476d3c1d838645ae5.tar.gz nextcloud-server-cdada78aa4acd2880e0344a476d3c1d838645ae5.zip |
typos & unused var fixed
Diffstat (limited to 'lib/appframework')
-rw-r--r-- | lib/appframework/http/dispatcher.php | 11 | ||||
-rw-r--r-- | lib/appframework/http/downloadresponse.php | 1 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/appframework/http/dispatcher.php b/lib/appframework/http/dispatcher.php index ab5644274fa..183854650fb 100644 --- a/lib/appframework/http/dispatcher.php +++ b/lib/appframework/http/dispatcher.php @@ -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); diff --git a/lib/appframework/http/downloadresponse.php b/lib/appframework/http/downloadresponse.php index 5a0db325fe6..096e4fc8331 100644 --- a/lib/appframework/http/downloadresponse.php +++ b/lib/appframework/http/downloadresponse.php @@ -30,7 +30,6 @@ namespace OC\AppFramework\Http; */ abstract class DownloadResponse extends Response { - private $content; private $filename; private $contentType; |