]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove duplicated definition of APIController
authorJoas Schilling <nickvergessen@gmx.de>
Mon, 26 Jan 2015 09:20:01 +0000 (10:20 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Mon, 26 Jan 2015 09:20:01 +0000 (10:20 +0100)
apps/files/appinfo/application.php

index 13ff60daf89cc8b3b109215e55b1f2f675e18d78..5203946f8272490b40c316a1ea8673b06e96f783 100644 (file)
@@ -19,7 +19,6 @@ class Application extends App {
                parent::__construct('files', $urlParams);
                $container = $this->getContainer();
 
-
                /**
                 * Controllers
                 */
@@ -52,16 +51,5 @@ class Application extends App {
                                $homeFolder
                        );
                });
-
-               /**
-                * Controllers
-                */
-               $container->registerService('APIController', function (IContainer $c) {
-                       return new ApiController(
-                               $c->query('AppName'),
-                               $c->query('Request'),
-                               $c->query('TagService')
-                       );
-               });
        }
 }