mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Replace OCSController with OCP\API
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
25c24c2b6e
commit
5740a6bf2b
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