diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index 7f02cf1688c770268a0bdae70ad28e4bf01c1f01..63ba95115fe7216dae8183f3e698030db46cf603 100644 (file)
if (isset($config->data['MAIN']['EXTERNALPWDHOOK'])){
exec($config->data['MAIN']['EXTERNALPWDHOOK']." ".$username." ".$_POST['new_password'], $resarr);
}
- @log::log("modify","users/".get_class($this),$this->usertab->dn,array(),"Password has been changed");
+ new log("modify","users/".get_class($this),$this->usertab->dn,array(),"Password has been changed");
unset($this->usertab);
$this->usertab= NULL;
}
exec($config->data['MAIN']['EXTERNALPWDHOOK']." ".$username." ".$_POST['new_password'], $resarr);
}
- @log::log("modify","users/".get_class($this),$this->dn,array(),"Password has been changed");
+ new log("modify","users/".get_class($this),$this->dn,array(),"Password has been changed");
}
} else {
} else {
print_red (sprintf(_("You are not allowed to delete the user '%s'!"),$dn));
if(isset($this->ui->uid)){
- @log::log("security","users/".get_class($this),$dn,array(),"Tried to trick deletion.");
+ new log("security","users/".get_class($this),$dn,array(),"Tried to trick deletion.");
}
}
/* Remove lock file after successfull deletion */
print_red (_("You are not allowed to delete this user!"));
if(isset($this->ui->uid)){
- @log::log("security","users/".get_class($this),$this->dn,array(),"Tried to trick deletion.");
+ new log("security","users/".get_class($this),$this->dn,array(),"Tried to trick deletion.");
}
}