remove permanent log triggered during install and fix IDE warnings

This commit is contained in:
Ralf Becker 2014-11-12 08:38:26 +00:00
parent 485f97fe7e
commit 50d1d778e8

View File

@ -229,7 +229,7 @@ class emailadmin_credentials
//error_log(__METHOD__."(acc_id=$acc_id, '$username', \$password, type=$type, account_id=$account_id, cred_id=$cred_id)");
if (!empty($cred_id) && !is_numeric($cred_id) || !is_numeric($account_id))
{
error_log(__METHOD__."($acc_id, '$username', \$password, $type, $account_id, ".array2string($cred_id).") not storing session credentials!");
//error_log(__METHOD__."($acc_id, '$username', \$password, $type, $account_id, ".array2string($cred_id).") not storing session credentials!");
return; // do NOT store credentials from session of current user!
}
$pw_enc = self::CLEARTEXT;