summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a4aad31)
raw | patch | inline | side by side (parent: a4aad31)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 May 2007 13:05:59 +0000 (13:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 May 2007 13:05:59 +0000 (13:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6387 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc
index a18a27e08131fcafe62194b3f2e8f22a08221084..5ecab3a94495d85905ba0af1a94ea12f9717e4ca 100644 (file)
$this->base= preg_replace ("/^[^,]+,[^,]+,/", "", $this->dn);
}
}
+
+ if($this->is_account && $dn != "new"){
+ @log::log("view","application/".get_class($this),$this->dn);
+ }
}
- function generateTemplate(){
+ function generateTemplate()
+ {
$str= "# This code is part of GOsa (https://gosa.gonicus.de)\n#\n";
$values = array();
{
$ldap= $this->config->get_ldap_link();
$ldap->rmDir($this->dn);
+ @log::log("remove","application/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
show_ldap_error($ldap->get_error(), sprintf(_("Removing of application with dn '%s' failed."),$this->dn));
/* Optionally execute a command after we're done */
$this->cleanup();
$ldap->modify ($this->attrs);
$this->handle_post_events("modify");
+ @log::log("modify","application/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
} else {
/* Remove gotoLogonScript if it is empty */
$ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $this->dn));
$ldap->cd($this->dn);
$ldap->add($this->attrs);
+ @log::log("create","application/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error());
$this->handle_post_events("add");
}
show_ldap_error($ldap->get_error(), sprintf(_("Saving of application with dn '%s' failed."),$this->dn));