summaryrefslogtreecommitdiffstats
path: root/lib/Controller/RecordingController.php
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2023-01-04 16:08:32 -0300
committerVitor Mattos <vitor@php.rio>2023-01-04 16:09:17 -0300
commitc08f92ead569d8dc380fb5bf560ef08b04722953 (patch)
tree10bd17db4cc38782585624c2d1822a2db1a988fb /lib/Controller/RecordingController.php
parentd96fb4431b1d556f8027788ce3c0ad4cf8125cc0 (diff)
Remove redundant "recording" at name of methods
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Controller/RecordingController.php')
-rw-r--r--lib/Controller/RecordingController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Controller/RecordingController.php b/lib/Controller/RecordingController.php
index 20cf685e1..b91370639 100644
--- a/lib/Controller/RecordingController.php
+++ b/lib/Controller/RecordingController.php
@@ -55,9 +55,9 @@ class RecordingController extends AEnvironmentAwareController {
* @PublicPage
* @RequireModeratorParticipant
*/
- public function startRecording(int $status): DataResponse {
+ public function start(int $status): DataResponse {
try {
- $this->recordingService->startRecording($this->room, $status);
+ $this->recordingService->start($this->room, $status);
} catch (InvalidArgumentException $e) {
return new DataResponse(['error' => $e->getMessage()], Http::STATUS_BAD_REQUEST);
}
@@ -68,9 +68,9 @@ class RecordingController extends AEnvironmentAwareController {
* @PublicPage
* @RequireModeratorParticipant
*/
- public function stopRecording(): DataResponse {
+ public function stop(): DataResponse {
try {
- $this->recordingService->stopRecording($this->room);
+ $this->recordingService->stop($this->room);
} catch (InvalidArgumentException $e) {
return new DataResponse(['error' => $e->getMessage()], Http::STATUS_BAD_REQUEST);
}