Skip to content
Snippets Groups Projects
Commit 3499783e authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

remove debug info

parent 7aad40ca
Branches
No related tags found
No related merge requests found
......@@ -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++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment