comments amended
This commit is contained in:
parent
32fb6beac3
commit
1c64ee67af
3 changed files with 2 additions and 3 deletions
|
@ -96,7 +96,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
|
|||
* returns the username for the given LDAP DN, if available
|
||||
*
|
||||
* @param string $dn
|
||||
* @return string|false with the name to use in ownCloud
|
||||
* @return string|false with the username
|
||||
*/
|
||||
public function dn2UserName($dn) {
|
||||
return $this->access->dn2username($dn);
|
||||
|
|
|
@ -199,7 +199,7 @@ class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface,
|
|||
* returns the username for the given LDAP DN, if available
|
||||
*
|
||||
* @param string $dn
|
||||
* @return string|false with the name to use in ownCloud
|
||||
* @return string|false with the username
|
||||
*/
|
||||
public function dn2UserName($dn) {
|
||||
$id = 'DN,' . $dn;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
/**
|
||||
* @author Roger Szabo <roger.szabo@web.de>
|
||||
*
|
||||
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
||||
* @license AGPL-3.0
|
||||
*
|
||||
* This code is free software: you can redistribute it and/or modify
|
||||
|
|
Loading…
Reference in a new issue