fix permanent error_log

This commit is contained in:
Ralf Becker 2016-06-01 16:41:30 +02:00
parent 31e47ec8f3
commit d90c6d6e2a

View File

@ -271,7 +271,7 @@ class Credentials
// check if password is unavailable (admin edits an account with password encrypted with users session PW) and NOT store it
if ($password == self::UNAVAILABLE)
{
error_log(__METHOD__."(".array2string(func_get_args()).") can NOT store unavailable password, storing without password!");
//error_log(__METHOD__."(".array2string(func_get_args()).") can NOT store unavailable password, storing without password!");
unset($data['cred_password'], $data['cred_pw_enc']);
}
//error_log(__METHOD__."($acc_id, '$username', '$password', $type, $account_id, $cred_id, $mcrypt) storing ".array2string($data).' '.function_backtrace());