mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 05:13:10 -04:00
Merge pull request #27346 from nextcloud/debt/noid/missing-import
[stable21] Replace OCSController with OCP\API
This commit is contained in:
commit
b5d3e389cb
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ class UsersController extends AUserData {
|
|||
public function getEditableFields(): DataResponse {
|
||||
$currentLoggedInUser = $this->userSession->getUser();
|
||||
if (!$currentLoggedInUser instanceof IUser) {
|
||||
throw new OCSException('', OCSController::RESPOND_NOT_FOUND);
|
||||
throw new OCSException('', \OCP\API::RESPOND_NOT_FOUND);
|
||||
}
|
||||
|
||||
return $this->getEditableFieldsForUser($currentLoggedInUser->getUID());
|
||||
|
|
|
|||
Loading…
Reference in a new issue