diff options
Diffstat (limited to 'apps/files_external/appinfo/routes.php')
-rw-r--r-- | apps/files_external/appinfo/routes.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_external/appinfo/routes.php b/apps/files_external/appinfo/routes.php index bc4b0e98c91..213e7b28dc1 100644 --- a/apps/files_external/appinfo/routes.php +++ b/apps/files_external/appinfo/routes.php @@ -28,8 +28,7 @@ namespace OCA\Files_External\AppInfo; /** * @var $this \OC\Route\Router **/ -$application = new Application(); -$application->registerRoutes( +\OC_Mount_Config::$app->registerRoutes( $this, array( 'resources' => array( |