migrate more stuff to new Settings class, refs #1325
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
*/
|
||||
function makeCryptPassword ($password) {
|
||||
|
||||
$type = isset(Settings::Get('system.passwordcryptfunc')) ? (int)Settings::Get('system.passwordcryptfunc') : 1;
|
||||
$type = Settings::Get('system.passwordcryptfunc') !== null ? (int)Settings::Get('system.passwordcryptfunc') : 1;
|
||||
|
||||
switch ($type) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user