index 5c036d1965b74e0191bd0ca2d0b0bb5636bc9343..3b666fd43bbae9848f4ebb8cfcc630909d4d4c81 100644 (file)
}
}
}
}
+ if($this->is_account){
+ @log::log("view","server/".get_class($this),$this->dn);
+ }
}
}
gosa_log("Removing ".$this->hostname." from list of kolabHosts");
}
gosa_log("Removing ".$this->hostname." from list of kolabHosts");
}
+ @log::log("remove","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
+
/* Optionally execute a command after we're done */
$this->handle_post_events("remove");
}
/* Optionally execute a command after we're done */
$this->handle_post_events("remove");
}
$ldap->cd($this->dn);
$this->cleanup();;
$ldap->$mode($this->attrs);
$ldap->cd($this->dn);
$this->cleanup();;
$ldap->$mode($this->attrs);
+
+ if($mode == "add"){
+ @log::log("create","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
+ }else{
+ @log::log("modify","server/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
+ }
+
show_ldap_error($ldap->get_error(), sprintf(_("Saving system server/kolab with dn '%s' failed."),$this->dn));
/* Optionally execute a command after we're done */
show_ldap_error($ldap->get_error(), sprintf(_("Saving system server/kolab with dn '%s' failed."),$this->dn));
/* Optionally execute a command after we're done */