index 793acb21dafd672009cf25998d00fe90af6f7d63..c32ac192d20f3fa87a1867d16f2f6005d8779e8f 100644 (file)
}else{
$this->is_account = true;
}
+
+ if($this->is_account){
+ @log::log("view","unknown/".get_class($this),$this->dn);
+ }
+
$this->initially_was_account = $this->is_account;
}
foreach($tmp['zoneUpdates'] as $dn => $attrs){
$ldap->cd($dn);
$ldap->modify($attrs);
+ @log::log("modfiy","unknown/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
show_ldap_error($ldap->get_error(), sprintf(_("Updating of system server/dns with dn '%s' failed."),$this->dn));
}
}
foreach($tmp['del'] as $dn => $del){
$ldap->cd($dn);
$ldap->rmdir_recursive($dn);
+ @log::log("remove","unknown/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
show_ldap_error($ldap->get_error(), sprintf(_("Removing of system server/dns with dn '%s' failed."),$this->dn));
}