diff options
author | Gary Kim <gary@garykim.dev> | 2021-06-29 19:20:33 -0400 |
---|---|---|
committer | Gary Kim <gary@garykim.dev> | 2021-06-30 15:28:02 -0400 |
commit | b78f3a57d1d05fb5f81ec8361139b64a3e54d7b0 (patch) | |
tree | c2051ba8b5b03b8e4152e7597a8a3ac4457980c6 /apps/provisioning_api | |
parent | 6da9ccc9ee1e37932c6580e9831c74bbeeac741b (diff) | |
download | nextcloud-server-b78f3a57d1d05fb5f81ec8361139b64a3e54d7b0.tar.gz nextcloud-server-b78f3a57d1d05fb5f81ec8361139b64a3e54d7b0.zip |
Migrate HintException to OCP
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index d94e8fed8a8..01e4bac9c2b 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -47,7 +47,6 @@ use libphonenumber\PhoneNumber; use libphonenumber\PhoneNumberFormat; use libphonenumber\PhoneNumberUtil; use OC\Authentication\Token\RemoteWipe; -use OC\HintException; use OC\KnownUser\KnownUserService; use OC\User\Backend; use OCA\Settings\Mailer\NewUserMailHelper; @@ -59,6 +58,8 @@ use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\OCS\OCSException; use OCP\AppFramework\OCS\OCSForbiddenException; use OCP\AppFramework\OCSController; +use OCP\EventDispatcher\IEventDispatcher; +use OCP\HintException; use OCP\IConfig; use OCP\IGroup; use OCP\IGroupManager; @@ -68,9 +69,8 @@ use OCP\IUser; use OCP\IUserManager; use OCP\IUserSession; use OCP\L10N\IFactory; -use OCP\Security\ISecureRandom; use OCP\Security\Events\GenerateSecurePasswordEvent; -use OCP\EventDispatcher\IEventDispatcher; +use OCP\Security\ISecureRandom; use OCP\User\Backend\ISetDisplayNameBackend; use Psr\Log\LoggerInterface; |