diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-12-28 19:08:54 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:46:16 +0100 |
commit | 0a3ef8b74bffc9b1cb6ef21695037d52aabd3ee1 (patch) | |
tree | 673c1fa994320800bfceb33eb45299137c15488d /apps/files/appinfo | |
parent | 5b9a8f0407a9e3fe7e00f0fc9284ea986905f1b5 (diff) | |
download | nextcloud-server-0a3ef8b74bffc9b1cb6ef21695037d52aabd3ee1.tar.gz nextcloud-server-0a3ef8b74bffc9b1cb6ef21695037d52aabd3ee1.zip |
Fixing tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/routes.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php index 0fc494d1173..60ba6afdf7a 100644 --- a/apps/files/appinfo/routes.php +++ b/apps/files/appinfo/routes.php @@ -39,6 +39,13 @@ namespace OCA\Files\AppInfo; use OCA\Files\Controller\OpenLocalEditorController; +// Legacy routes above +/** @var $this \OC\Route\Router */ +$this->create('files_ajax_download', 'apps/files/ajax/download.php') + ->actionInclude('files/ajax/download.php'); +$this->create('files_ajax_list', 'apps/files/ajax/list.php') + ->actionInclude('files/ajax/list.php'); + /** @var Application $application */ $application = \OC::$server->query(Application::class); $application->registerRoutes( @@ -207,10 +214,3 @@ $application->registerRoutes( ], ] ); - -/** @var $this \OC\Route\Router */ - -$this->create('files_ajax_download', 'apps/files/ajax/download.php') - ->actionInclude('files/ajax/download.php'); -$this->create('files_ajax_list', 'apps/files/ajax/list.php') - ->actionInclude('files/ajax/list.php'); |