summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin McCorkell <robin@mccorkell.me.uk>2016-04-14 00:49:47 +0100
committerRobin McCorkell <robin@mccorkell.me.uk>2016-04-14 00:49:47 +0100
commit9a78cac2eb63c81372e4ff4b9966d34ca160634b (patch)
treed676555513b40bd886ffaa816005098949db5d2f /apps/files_external
parent4717605d22f5f60e887b5584e8da25b8ef69cdf4 (diff)
downloadnextcloud-server-9a78cac2eb63c81372e4ff4b9966d34ca160634b.tar.gz
nextcloud-server-9a78cac2eb63c81372e4ff4b9966d34ca160634b.zip
Fix OCA\Files\External\Api namespace
Diffstat (limited to 'apps/files_external')
-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 {