diff --git a/appinfo/routes.php b/appinfo/routes.php index b88b28112e0..c5fdb5cbb45 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -338,10 +338,10 @@ ], /** - * Files + * FilesIntegration */ [ - 'name' => 'Files#getRoom', + 'name' => 'FilesIntegration#getRoom', 'url' => '/api/{apiVersion}/file/{fileId}', 'verb' => 'GET', 'requirements' => [ diff --git a/lib/Controller/FilesController.php b/lib/Controller/FilesIntegrationController.php similarity index 97% rename from lib/Controller/FilesController.php rename to lib/Controller/FilesIntegrationController.php index 48cf3f31698..4ab4e44fbe8 100644 --- a/lib/Controller/FilesController.php +++ b/lib/Controller/FilesIntegrationController.php @@ -23,7 +23,6 @@ namespace OCA\Talk\Controller; -use OCA\Talk\Exceptions\ParticipantNotFoundException; use OCA\Talk\Exceptions\RoomNotFoundException; use OCA\Talk\Files\Util; use OCA\Talk\Manager; @@ -36,7 +35,7 @@ use OCP\IRequest; use OCP\Share\IShare; -class FilesController extends OCSController { +class FilesIntegrationController extends OCSController { /** @var string */ private $currentUser;