summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-03 23:52:03 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-04 13:26:07 +0200
commit3499783ea5d92657ec75f11bf55a7883fc95e47c (patch)
tree01b2d72f540d09991d767515e13432153a92e038 /apps/user_ldap
parent7aad40ca4dabdb4bc5cc7be1726f9e469443df3b (diff)
downloadnextcloud-server-3499783ea5d92657ec75f11bf55a7883fc95e47c.tar.gz
nextcloud-server-3499783ea5d92657ec75f11bf55a7883fc95e47c.zip
remove debug info
Diffstat (limited to 'apps/user_ldap')
-rwxr-xr-xapps/user_ldap/lib_ldap.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/user_ldap/lib_ldap.php b/apps/user_ldap/lib_ldap.php
index 52cc8616e2b..1e7b55786d4 100755
--- a/apps/user_ldap/lib_ldap.php
+++ b/apps/user_ldap/lib_ldap.php
@@ -402,15 +402,10 @@ class OC_LDAP {
*/
static public function readAttribute($dn, $attr) {
$cr = self::getConnectionResource();
-// echo("<pre>");var_dump($dn);
$rr = ldap_read($cr, $dn, 'objectClass=*', array($attr));
- if(!$rr) {
- echo('<pre>###RA ');var_dump($dn);var_dump(debug_backtrace());die();
- }
$er = ldap_first_entry($cr, $rr);
$result = ldap_get_attributes($cr, $er);
-// if($dn == 'cn=Coyotes,cn=groups,dc=blizzz-oc,dc=bzoc') die((var_dump($result)));
if($result[$attr]['count'] > 0){
$values = array();
for($i=0;$i<$result[$attr]['count'];$i++) {