diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index b3e614ea48a454876d76e07356312212b3e0556c..f20efe5a82914d9583c4ae5ee85f064c7abfd82f 100644 (file)
$attrs['gotoRootPasswd']= crypt($_POST['new_password'],substr(session_id(),0,2));
}
$ldap->modify($attrs);
- @log::log("security","systems/".get_class($this),$this->dn,array_keys($attrs),$ldap->get_error());
+ new log("security","systems/".get_class($this),$this->dn,array_keys($attrs),$ldap->get_error());
}else{
print_red(_("You are not allowed to change the password for this object."));
}
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- @log::log("security","systems/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","systems/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
del_lock ($dn);
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
print_red (_("You are not allowed to delete this component!"));
- @log::log("security","systems/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","systems/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */