summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/appinfo/app.php1
-rw-r--r--apps/files_external/appinfo/routes.php2
-rw-r--r--apps/files_external/lib/api.php2
3 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php
index c98e772aa40..18f8b2551fa 100644
--- a/apps/files_external/appinfo/app.php
+++ b/apps/files_external/appinfo/app.php
@@ -27,7 +27,6 @@
*/
OC::$CLASSPATH['OC_Mount_Config'] = 'files_external/lib/config.php';
-OC::$CLASSPATH['OCA\Files\External\Api'] = 'files_external/lib/api.php';
require_once __DIR__ . '/../3rdparty/autoload.php';
diff --git a/apps/files_external/appinfo/routes.php b/apps/files_external/appinfo/routes.php
index 2d2e6ddf607..e2f55e652a8 100644
--- a/apps/files_external/appinfo/routes.php
+++ b/apps/files_external/appinfo/routes.php
@@ -61,6 +61,6 @@ $this->create('files_external_list_applicable', '/applicable')
\OCP\API::register('get',
'/apps/files_external/api/v1/mounts',
- array('\OCA\Files\External\Api', 'getUserMounts'),
+ array('\OCA\Files_External\Lib\Api', 'getUserMounts'),
'files_external');
diff --git a/apps/files_external/lib/api.php b/apps/files_external/lib/api.php
index 50a2f38c65b..589317dcf98 100644
--- a/apps/files_external/lib/api.php
+++ b/apps/files_external/lib/api.php
@@ -23,7 +23,7 @@
*
*/
-namespace OCA\Files\External;
+namespace OCA\Files_External\Lib;
class Api {