diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-10-05 19:13:12 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-10-05 19:13:12 +0200 |
commit | 47b2007228ea770994a76f9c33ad04de1a0cde7e (patch) | |
tree | 14dddb60bd4524dbef6ca36768db4e776f3439fb /lib/private/appframework/middleware | |
parent | c85621a8971a99a6f811c470f50d9b0e89f957da (diff) | |
download | nextcloud-server-47b2007228ea770994a76f9c33ad04de1a0cde7e.tar.gz nextcloud-server-47b2007228ea770994a76f9c33ad04de1a0cde7e.zip |
Remove misleading IMiddleware interface
Diffstat (limited to 'lib/private/appframework/middleware')
-rw-r--r-- | lib/private/appframework/middleware/middlewaredispatcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/appframework/middleware/middlewaredispatcher.php b/lib/private/appframework/middleware/middlewaredispatcher.php index 5cce97b2167..c2377b8844b 100644 --- a/lib/private/appframework/middleware/middlewaredispatcher.php +++ b/lib/private/appframework/middleware/middlewaredispatcher.php @@ -26,7 +26,7 @@ namespace OC\AppFramework\Middleware; use OC\AppFramework\Controller\Controller; use OCP\AppFramework\Http\Response; -use OCP\AppFramework\IMiddleWare; +use OCP\AppFramework\MiddleWare; /** * This class is used to store and run all the middleware in correct order @@ -58,7 +58,7 @@ class MiddlewareDispatcher { * Adds a new middleware * @param Middleware $middleware the middleware which will be added */ - public function registerMiddleware(IMiddleware $middleWare){ + public function registerMiddleware(Middleware $middleWare){ array_push($this->middlewares, $middleWare); } |