diff options
Diffstat (limited to 'appinfo/application.php')
| -rw-r--r-- | appinfo/application.php | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/appinfo/application.php b/appinfo/application.php index 7a1691d..69d1572 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -28,18 +28,8 @@ class Application extends App = $c->query('ServerContainer')->getURLGenerator(); return new \OCA\Grauphel\Controller\ApiController( $c->query('AppName'), - $c->query('Request') - ); - } - ); - $container->registerService( - 'AccessController', - function($c) { - Dependencies::get()->urlGen - = $c->query('ServerContainer')->getURLGenerator(); - return new \OCA\Grauphel\Controller\AccessController( - $c->query('AppName'), - $c->query('Request') + $c->query('Request'), + $c->query('Session')->getUser() ); } ); |
