summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b66a48b)
raw | patch | inline | side by side (parent: b66a48b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:41:13 +0000 (07:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:41:13 +0000 (07:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6447 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupApplication.inc | patch | blob | history | |
plugins/admin/mimetypes/class_mimetypeManagement.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc
index da3a3a4137129866f02442f21f3d19810abb7279..753352db10a1f52d445310722198096ed47cbd13 100644 (file)
{
/* Skip saving application settings, if we do not have release acls */
if($this->no_release_acls){
- gosa_log("Skip saving group application extension. Caused by insufficient acls");
+ new log("security","groups/".get_class($this),$this->dn,array(),"Skip saving group application extension. Caused by insufficient acls");
+
return;
}
diff --git a/plugins/admin/mimetypes/class_mimetypeManagement.inc b/plugins/admin/mimetypes/class_mimetypeManagement.inc
index f0c1b4ddbdec2652d2aa23fe9436969e8107fb4b..fc87bec435a022931c95e0bfcabdafc23ca5b999 100755 (executable)
/* Save data data to ldap */
$this->mimetabs->set_release($this->DivListMimeTypes->selectedRelease);
$this->mimetabs->save();
- gosa_log ("Mime object'".$this->dn."' has been saved");
if (!isset($_POST['edit_apply'])){
/* Mime type has been saved successfully, remove lock from LDAP. */
$this->mimetabs= new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $dn,"mimetypes");
$this->mimetabs->set_acl_base($dn);
$this->mimetabs->delete ();
- gosa_log ("Mime type object'".$dn."' has been removed");
unset ($this->mimetabs);
$this->mimetabs= NULL;
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this mime type!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick group deletion.");
+ @log::log("security","mimetypes/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
del_lock ($dn);
$this->mimetabs= new mimetabs($this->config, $this->config->data['TABS']['MIMETABS'], $this->dn,"mimetypes");
$this->mimetabs->set_acl_base($this->dn);
$this->mimetabs->delete ();
- gosa_log ("Mime type object'".$this->dn."' has been removed");
unset ($this->mimetabs);
$this->mimetabs= NULL;
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this mime type!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick group deletion.");
+ @log::log("security","mimetypes/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */