summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4d63c00)
raw | patch | inline | side by side (parent: 4d63c00)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:30:55 +0000 (07:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:30:55 +0000 (07:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6444 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 6934a0cc428cc6fb058fe496856b02b91a42ab04..0488ed3cef1f0df983babc5fb6f76b079216bb98 100644 (file)
$this->dialog->set_acl_base($dn);
$this->dialog->by_object[$type[1]]->remove_from_parent ();
unset ($this->dialog);
- gosa_log ("FAI class '".$dn."' has been tagged as removed");
$this->dialog= NULL;
$to_del = clean_up_releases($dn);
save_release_changes_now();
foreach($to_del as $dn){
$ldap->rmdir_recursive($dn);
- gosa_log(sprintf(_("Release cleanup : Removing object (tagged as remvoed) that is no longer in use '%s'."),$dn));
}
} else {
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick system ".
- "deletion.");
+ @log::log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
$this->dialog->set_acl_base($this->dn);
$this->dialog->by_object[$type[1]]->remove_from_parent ();
unset ($this->dialog);
- gosa_log ("FAI class '".$this->dn."' has been tagged as removed");
$this->dialog= NULL;
$to_del = clean_up_releases($this->dn);
save_release_changes_now();
foreach($to_del as $dn){
$ldap->rmdir_recursive($dn);
- gosa_log(sprintf(_("Release cleanup : Removing object (tagged as remvoed) that is no longer in use '%s'."),$dn));
}
} else {
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick system ".
- "deletion.");
+ @log::log("security","fai/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
}else{
$this->lock_name = $name;
$this->lock_dn = $bb;
$this->postremove();
+
+ @log::log("remove","fai/".get_class($this),$br[$bb],array(),"Release removed");
}
}
<body style="background: none;margin:3px;color:black">
';
+ @log::log("create","fai/".get_class($this),$NewReleaseName,array(),"New $type created");
/* Duplicate applications
*/