aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib/Controller/UserStatusController.php
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-05-05 14:18:56 +0200
committerjld3103 <jld3103yt@gmail.com>2023-05-08 14:16:54 +0200
commite6e2b873a396764065b99a963af0ec6eb6d37a95 (patch)
tree3c2d20438a3f36e803fa3c85fe0878570f986966 /apps/user_status/lib/Controller/UserStatusController.php
parent598859d96995cf8857da9733883cf6ed95fd1524 (diff)
downloadnextcloud-server-e6e2b873a396764065b99a963af0ec6eb6d37a95.tar.gz
nextcloud-server-e6e2b873a396764065b99a963af0ec6eb6d37a95.zip
Remove unreachable UserStatus#clearStatus route
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/user_status/lib/Controller/UserStatusController.php')
-rw-r--r--apps/user_status/lib/Controller/UserStatusController.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/user_status/lib/Controller/UserStatusController.php b/apps/user_status/lib/Controller/UserStatusController.php
index aded923d07f..2d96cd90a40 100644
--- a/apps/user_status/lib/Controller/UserStatusController.php
+++ b/apps/user_status/lib/Controller/UserStatusController.php
@@ -169,16 +169,6 @@ class UserStatusController extends OCSController {
*
* @return DataResponse
*/
- public function clearStatus(): DataResponse {
- $this->service->clearStatus($this->userId);
- return new DataResponse([]);
- }
-
- /**
- * @NoAdminRequired
- *
- * @return DataResponse
- */
public function clearMessage(): DataResponse {
$this->service->clearMessage($this->userId);
return new DataResponse([]);