From e3bac437c225f28bc6a9ca34c4fc33c936b00513 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Fri, 30 Jun 2023 11:19:21 +0200 Subject: chore: remove old favorites view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/files/lib/Controller/ApiController.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'apps/files/lib/Controller/ApiController.php') diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index fd0f3bdf261..f8911c4d104 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -383,20 +383,6 @@ class ApiController extends Controller { return new JSONResponse(['gridview' => $status]); } - /** - * Get sorting-order for custom sorting - * - * @NoAdminRequired - * - * @param string $folderpath - * @return string - * @throws \OCP\Files\NotFoundException - */ - public function getNodeType($folderpath) { - $node = $this->userFolder->get($folderpath); - return $node->getType(); - } - /** * @NoAdminRequired * @NoCSRFRequired -- cgit v1.2.3