summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-12-05 11:36:20 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-12-05 11:36:20 +0100
commit0c8e4b91d38db94fe0d0e7c57b79fbcaad11f1fc (patch)
tree9bd849d8431349ae1c8baf9182008734c65aeacc /apps
parentefa10778720a853843cf66355d958f2d84ca6c3e (diff)
downloadnextcloud-server-0c8e4b91d38db94fe0d0e7c57b79fbcaad11f1fc.tar.gz
nextcloud-server-0c8e4b91d38db94fe0d0e7c57b79fbcaad11f1fc.zip
adjust: sanitizeDN resides in Helper
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/Access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index 1a9c04aef77..cace64a7deb 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -283,7 +283,7 @@ class Access extends LDAPUtility implements IUserTools {
$lowercaseAttribute = strtolower($attribute);
for($i=0;$i<$result[$attribute]['count'];$i++) {
if($this->resemblesDN($attribute)) {
- $values[] = $this->sanitizeDN($result[$attribute][$i]);
+ $values[] = $this->helper->sanitizeDN($result[$attribute][$i]);
} elseif($lowercaseAttribute === 'objectguid' || $lowercaseAttribute === 'guid') {
$values[] = $this->convertObjectGUID2Str($result[$attribute][$i]);
} else {