diff options
author | Marc Hefter <marchefter@march42.net> | 2022-05-20 14:31:55 +0200 |
---|---|---|
committer | Marc Hefter <marchefter@gmail.com> | 2023-04-06 08:20:22 +0200 |
commit | c7623c7869729fca3b5c01054f69651018151efd (patch) | |
tree | a471a99c8903e1a50734f6991b8423a994aa1b94 /apps/user_ldap | |
parent | eee0275dc5b3cfec8f1470bf9efca357e7d3ca68 (diff) | |
download | nextcloud-server-c7623c7869729fca3b5c01054f69651018151efd.tar.gz nextcloud-server-c7623c7869729fca3b5c01054f69651018151efd.zip |
bugfix: changed forgotten userName, to getUsername
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/User/User.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index 1f044c6ddd6..dc6be6ba16d 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -633,10 +633,10 @@ class User { // setVerified(IAccountManager::VERIFIED); } } catch (PropertyDoesNotExistException $e) { - $this->logger->error('property does not exist: '.$profileProperty.' for user '.$userName.'', ['app' => 'user_ldap']); + $this->logger->error('property does not exist: '.$profileProperty.' for user '.$this->getUsername().'', ['app' => 'user_ldap']); return; } - $this->logger->debug('property updated: '.$profileProperty.'='.$propertyValue.' for user '.$userName.'', ['app' => 'user_ldap']); + $this->logger->debug('property updated: '.$profileProperty.'='.$propertyValue.' for user '.$this->getUsername().'', ['app' => 'user_ldap']); $this->config->setUserValue($this->getUsername(), 'user_ldap', $property, $value); return $value; } else { |