diff options
Diffstat (limited to 'lib/Controller/FolderApiV2Controller.php')
-rw-r--r-- | lib/Controller/FolderApiV2Controller.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/FolderApiV2Controller.php b/lib/Controller/FolderApiV2Controller.php index 049be579e..683169006 100644 --- a/lib/Controller/FolderApiV2Controller.php +++ b/lib/Controller/FolderApiV2Controller.php @@ -48,7 +48,7 @@ class FolderApiV2Controller extends ApiController * @param string $name * @return array|mixed|\OCP\AppFramework\Http\JSONResponse */ - public function createFolder($name) + public function create($name) { try { $this->folderService->purgeDeleted($this->getUserId(), false); @@ -73,7 +73,7 @@ class FolderApiV2Controller extends ApiController * @param string $name * @return array|\OCP\AppFramework\Http\JSONResponse */ - public function updateFolder($folderId, $name) + public function update($folderId, $name) { $response = null; try { @@ -100,7 +100,7 @@ class FolderApiV2Controller extends ApiController * @param int $folderId * @return array|\OCP\AppFramework\Http\JSONResponse */ - public function deleteFolder($folderId) + public function delete($folderId) { try { $responseData = $this->serializeEntity( |