]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix legacy routes
authorJoas Schilling <coding@schilljs.com>
Tue, 14 Apr 2020 16:24:02 +0000 (18:24 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 18 Apr 2020 09:21:28 +0000 (11:21 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files/appinfo/routes.php
apps/files_external/appinfo/routes.php
apps/files_versions/appinfo/routes.php
apps/user_ldap/appinfo/routes.php

index 01d1e14054a6f08c73bebb0575f519a9e788dda9..d304ceb7b280ce090a8ce9d37ae0e3932bb317fd 100644 (file)
@@ -153,7 +153,7 @@ $application->registerRoutes(
 
 /** @var $this \OC\Route\Router */
 
-$this->create('files_ajax_download', 'ajax/download.php')
+$this->create('files_ajax_download', 'apps/files/ajax/download.php')
        ->actionInclude('files/ajax/download.php');
-$this->create('files_ajax_list', 'ajax/list.php')
+$this->create('files_ajax_list', 'apps/files/ajax/list.php')
        ->actionInclude('files/ajax/list.php');
index c504110210b4d85611519d4a4a5b23dd755181e3..17484594a4561c93d3f9ceb43dff3e8f07ec85d3 100644 (file)
        ]
 );
 
-$this->create('files_external_oauth1', 'ajax/oauth1.php')
+$this->create('files_external_oauth1', 'apps/files_external/ajax/oauth1.php')
        ->actionInclude('files_external/ajax/oauth1.php');
-$this->create('files_external_oauth2', 'ajax/oauth2.php')
+$this->create('files_external_oauth2', 'apps/files_external/ajax/oauth2.php')
        ->actionInclude('files_external/ajax/oauth2.php');
 
 
-$this->create('files_external_list_applicable', '/applicable')
+$this->create('files_external_list_applicable', '/apps/files_external/applicable')
        ->actionInclude('files_external/ajax/applicable.php');
index 7252ddcd22b80fc1d2cce02bd14acf1fc6343756..35a746777dce080a7097f884ee8d2ceeab8bdf2c 100644 (file)
@@ -40,9 +40,9 @@ $application->registerRoutes($this, [
 ]);
 
 /** @var $this \OCP\Route\IRouter */
-$this->create('files_versions_download', 'download.php')
+$this->create('files_versions_download', 'apps/files_versions/download.php')
        ->actionInclude('files_versions/download.php');
-$this->create('files_versions_ajax_getVersions', 'ajax/getVersions.php')
+$this->create('files_versions_ajax_getVersions', 'apps/files_versions/ajax/getVersions.php')
        ->actionInclude('files_versions/ajax/getVersions.php');
-$this->create('files_versions_ajax_rollbackVersion', 'ajax/rollbackVersion.php')
+$this->create('files_versions_ajax_rollbackVersion', 'apps/files_versions/ajax/rollbackVersion.php')
        ->actionInclude('files_versions/ajax/rollbackVersion.php');
index d7955446a47255722c3440b1a82df751ed408d8c..d3ff28a3f19ee22764836c5ac0f9489416d869da 100644 (file)
@@ -28,19 +28,19 @@ declare(strict_types=1);
  */
 
 /** @var $this \OCP\Route\IRouter */
-$this->create('user_ldap_ajax_clearMappings', 'ajax/clearMappings.php')
+$this->create('user_ldap_ajax_clearMappings', 'apps/user_ldap/ajax/clearMappings.php')
        ->actionInclude('user_ldap/ajax/clearMappings.php');
-$this->create('user_ldap_ajax_deleteConfiguration', 'ajax/deleteConfiguration.php')
+$this->create('user_ldap_ajax_deleteConfiguration', 'apps/user_ldap/ajax/deleteConfiguration.php')
        ->actionInclude('user_ldap/ajax/deleteConfiguration.php');
-$this->create('user_ldap_ajax_getConfiguration', 'ajax/getConfiguration.php')
+$this->create('user_ldap_ajax_getConfiguration', 'apps/user_ldap/ajax/getConfiguration.php')
        ->actionInclude('user_ldap/ajax/getConfiguration.php');
-$this->create('user_ldap_ajax_getNewServerConfigPrefix', 'ajax/getNewServerConfigPrefix.php')
+$this->create('user_ldap_ajax_getNewServerConfigPrefix', 'apps/user_ldap/ajax/getNewServerConfigPrefix.php')
        ->actionInclude('user_ldap/ajax/getNewServerConfigPrefix.php');
-$this->create('user_ldap_ajax_setConfiguration', 'ajax/setConfiguration.php')
+$this->create('user_ldap_ajax_setConfiguration', 'apps/user_ldap/ajax/setConfiguration.php')
        ->actionInclude('user_ldap/ajax/setConfiguration.php');
-$this->create('user_ldap_ajax_testConfiguration', 'ajax/testConfiguration.php')
+$this->create('user_ldap_ajax_testConfiguration', 'apps/user_ldap/ajax/testConfiguration.php')
        ->actionInclude('user_ldap/ajax/testConfiguration.php');
-$this->create('user_ldap_ajax_wizard', 'ajax/wizard.php')
+$this->create('user_ldap_ajax_wizard', 'apps/user_ldap/ajax/wizard.php')
        ->actionInclude('user_ldap/ajax/wizard.php');
 
 $application = new \OCP\AppFramework\App('user_ldap');