diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-10 20:30:29 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-10 20:30:29 +0100 |
commit | 61ed57b757201541b2038ccab10b092a77c4fb64 (patch) | |
tree | e9b00d759ce7ee00974bd91da6674683b30d83cb /apps/provisioning_api/lib/Controller/UsersController.php | |
parent | 45dbc471d9964fcdb13c350bedc912d282d262f9 (diff) | |
download | nextcloud-server-61ed57b757201541b2038ccab10b092a77c4fb64.tar.gz nextcloud-server-61ed57b757201541b2038ccab10b092a77c4fb64.zip |
Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/provisioning_api/lib/Controller/UsersController.php')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index d1dba3ea6ee..579f9ae522a 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -692,7 +692,7 @@ class UsersController extends AUserData { $this->accountManager->updateUser($targetUser, $userAccount, true); if ($key === IAccountManager::PROPERTY_PHONE) { - $this->knownUserService->deleteKnownUser($targetUser->getUID()); + $this->knownUserService->deleteByContactUserId($targetUser->getUID()); } } catch (\InvalidArgumentException $e) { throw new OCSException('Invalid ' . $e->getMessage(), 102); |