summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f547a8)
raw | patch | inline | side by side (parent: 6f547a8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:35:10 +0000 (07:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:35:10 +0000 (07:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6445 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index e24f876e9fe1f296cf31a203186a8452f0aa5b38..58fbde1b9d15bcf323ccf6ad57e51d8837949c7c 100644 (file)
/* Save user data to ldap */
$this->grouptab->save();
- gosa_log ("Group object '".$this->dn."' has been saved");
if (!isset($_POST['edit_apply'])){
/* Group has been saved successfully, remove lock from LDAP. */
$this->usertab= new usertabs($this->config, $this->config->data['TABS']['USERTABS'],$dn);
$this->usertab->set_acl_base();
$this->usertab->delete ();
- gosa_log ("User object '".$dn."' has been removed");
unset ($this->usertab);
$this->usertab= NULL;
} else {
print_red (sprintf(_("You are not allowed to delete the user '%s'!"),$dn));
if(isset($this->ui->uid)){
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick user deletion.");
+ @log::log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
}
/* Remove lock file after successfull deletion */
$this->grouptab= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $this->dn);
$this->grouptab->set_acl_base($this->dn);
$this->grouptab->delete ();
- gosa_log ("Group object'".$this->dn."' has been removed");
unset ($this->grouptab);
$this->grouptab= NULL;
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this group!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick group deletion.");
+ @log::log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
del_lock ($dn);
$this->grouptab= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $this->dn);
$this->grouptab->set_acl_base($this->dn);
$this->grouptab->delete ();
- gosa_log ("Group object'".$this->dn."' has been removed");
unset ($this->grouptab);
$this->grouptab= NULL;
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this group!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick group deletion.");
+ @log::log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */