Fix OCA\Files\External\Api namespace
This commit is contained in:
parent
4717605d22
commit
9a78cac2eb
3 changed files with 2 additions and 3 deletions
|
@ -27,7 +27,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
OC::$CLASSPATH['OC_Mount_Config'] = 'files_external/lib/config.php';
|
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';
|
require_once __DIR__ . '/../3rdparty/autoload.php';
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,6 @@ $this->create('files_external_list_applicable', '/applicable')
|
||||||
|
|
||||||
\OCP\API::register('get',
|
\OCP\API::register('get',
|
||||||
'/apps/files_external/api/v1/mounts',
|
'/apps/files_external/api/v1/mounts',
|
||||||
array('\OCA\Files\External\Api', 'getUserMounts'),
|
array('\OCA\Files_External\Lib\Api', 'getUserMounts'),
|
||||||
'files_external');
|
'files_external');
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace OCA\Files\External;
|
namespace OCA\Files_External\Lib;
|
||||||
|
|
||||||
class Api {
|
class Api {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue