diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc
index 3c23e835e4468356beed4a016d356da94c313ddf..8ce6dc1840255f6109c41e7f3382b2f0b63dccc1 100644 (file)
/* Save data data to ldap */
$this->apptabs->set_release($this->DivListApplication->selectedRelease);
$this->apptabs->save();
- gosa_log ("Application object'".$this->dn."' has been saved");
if (!isset($_POST['edit_apply'])){
/* Application has been saved successfully, remove lock from
$this->apptabs= new apptabs($this->config, $this->config->data['TABS']['APPSTABS'], $dn,"application");
$this->apptabs->set_acl_base($dn);
$this->apptabs->delete ();
- gosa_log ("Application object'".$dn."' has been removed");
unset ($this->apptabs);
$this->apptabs= NULL;
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this application!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick group deletion.");
+ @log::log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
del_lock ($dn);
$this->apptabs= new apptabs($this->config, $this->config->data['TABS']['APPSTABS'], $this->dn,"application");
$this->apptabs->set_acl_base($this->dn);
$this->apptabs->delete ();
- gosa_log ("Application object'".$this->dn."' has been removed");
unset ($this->apptabs);
$this->apptabs= NULL;
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this application!"));
- gosa_log ("Warning: '".$this->ui->uid."' tried to trick group deletion.");
+ @log::log("security","application/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */