Skip to content

Commit

Permalink
chore: drop unused api /displaynames (#41113)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 authored Nov 21, 2023
1 parent d8ae5c8 commit 7820e68
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 90 deletions.
9 changes: 0 additions & 9 deletions core/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
use OC\Core\Controller\RolesController;
use OC\Core\Controller\TokenController;
use OC\Core\Controller\TwoFactorChallengeController;
use OC\Core\Controller\UserController;
use OC\Core\Controller\UserSyncController;
use OC\User\AccountMapper;
use OC\User\SyncService;
Expand Down Expand Up @@ -100,14 +99,6 @@ public function __construct(array $urlParams= []) {
$c->query('UserSession')
);
});
$container->registerService('UserController', static function (SimpleContainer $c) {
return new UserController(
$c->query('AppName'),
$c->query('Request'),
$c->query('UserManager'),
$c->query('Defaults')
);
});
$container->registerService('AvatarController', static function (SimpleContainer $c) {
/** @var IServerContainer $server */
$server = $c->query('ServerContainer');
Expand Down
80 changes: 0 additions & 80 deletions core/Controller/UserController.php

This file was deleted.

1 change: 0 additions & 1 deletion core/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
['name' => 'lost#email', 'url' => '/lostpassword/email', 'verb' => 'POST'],
['name' => 'lost#resetform', 'url' => '/lostpassword/reset/form/{token}/{userId}', 'verb' => 'GET'],
['name' => 'lost#setPassword', 'url' => '/lostpassword/set/{token}/{userId}', 'verb' => 'POST'],
['name' => 'user#getDisplayNames', 'url' => '/displaynames', 'verb' => 'POST'],
['name' => 'avatar#getAvatar', 'url' => '/avatar/{userId}/{size}', 'verb' => 'GET'],
['name' => 'avatar#deleteAvatar', 'url' => '/avatar/', 'verb' => 'DELETE'],
['name' => 'avatar#postCroppedAvatar', 'url' => '/avatar/cropped', 'verb' => 'POST'],
Expand Down

0 comments on commit 7820e68

Please sign in to comment.