Review Changes

renamed some functions and adjusted corresponding calls.
This commit is contained in:
Adam Magness 2017-12-01 21:05:06 -05:00
commit 9a4e741d1a
9 changed files with 34 additions and 80 deletions

View file

@ -265,7 +265,7 @@ function settings_post(App $a) {
if (strlen($eacct['server'])) {
$dcrpass = '';
openssl_private_decrypt(hex2bin($eacct['pass']), $dcrpass, $a->user['prvkey']);
$mbox = Email::emailConnect($mb, $mail_user, $dcrpass);
$mbox = Email::connect($mb, $mail_user, $dcrpass);
unset($dcrpass);
if (!$mbox) {
$failed = true;