diff --git a/gosa-core/include/password-methods/class_password-methods-sha.inc b/gosa-core/include/password-methods/class_password-methods-sha.inc
index 3cd0ea656f4755f86e78ab18c001463df93926ab..8d73b2557bb2c8d6836ed4c6ab803f54dca88861 100644 (file)
class passwordMethodsha extends passwordMethod
{
- function passwordMethodsha($config)
+ function passwordMethodsha($config)
{
}
}elseif (function_exists('mhash')) {
$hash = "{SHA}" . base64_encode(mHash(MHASH_SHA1, $password));
}else{
- msg_dialog::display(_("Configuration error"), sprintf(_("Cannot use %s encryption: no PHP functions for sha1/mhash available"), 'SHA'), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), msgPool::missingext("mhash"), ERROR_DIALOG);
return false;
}