index 1f316f50f376e1eadac7df780c32fedb317c8a6b..9adf21534b7aa42cc564cd34ec6c714679c0b3be 100755 (executable)
}
$ldap->rmDir($this->dn);
+ show_ldap_error($ldap->get_error(), _("Removing phone macro failed"));
if(isset($this->orig_cn)){
$this->generate_mysql_entension_entries(false,true,$this->orig_cn);
}else{
$og= new ogroup($this->config, $ldap->getDN());
unset($og->member[$this->dn]);
$og->save ();
+ show_ldap_error($ldap->get_error(), _("Removing phone macro reverences failed"));
}
}
if (count($a)){
$ldap->cd($this->dn);
$this->cleanup();
-$ldap->modify ($this->attrs);
+ $ldap->modify ($this->attrs);
$this->handle_post_events("modify");
} else {
$ldap->add($this->attrs);
$this->handle_post_events("add");
}
+ show_ldap_error($ldap->get_error(), _("Saving phone macro failed"));
}
- show_ldap_error($ldap->get_error());
}
}