summaryrefslogtreecommitdiffstats
path: root/lib/appframework
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-20 17:20:36 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-20 17:20:36 +0200
commitcdada78aa4acd2880e0344a476d3c1d838645ae5 (patch)
treeae5561c74cd227790b8fe5a9efdbb53df147e213 /lib/appframework
parent0fa8f380767369b4aa85f5944a8e921009b1ed27 (diff)
downloadnextcloud-server-cdada78aa4acd2880e0344a476d3c1d838645ae5.tar.gz
nextcloud-server-cdada78aa4acd2880e0344a476d3c1d838645ae5.zip
typos & unused var fixed
Diffstat (limited to 'lib/appframework')
-rw-r--r--lib/appframework/http/dispatcher.php11
-rw-r--r--lib/appframework/http/downloadresponse.php1
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;