1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Code cleanup

This commit is contained in:
Cameron
2019-06-08 10:56:14 -07:00
parent 38ec49b94c
commit d50dc72c76
2 changed files with 23 additions and 4 deletions

View File

@@ -399,7 +399,7 @@ class e_signup_class
if($newID === false)
{
$log->e_log_event(10,debug_backtrace(),'USER','Verification Fail', print_r($row,true),false, LOG_TO_ROLLING);
$log->addEvent(10,debug_backtrace(),'USER','Verification Fail', print_r($row,true),false, LOG_TO_ROLLING);
return 'failed';
}
@@ -424,7 +424,7 @@ class e_signup_class
else
{
// Invalid activation code
$log->e_log_event(10,debug_backtrace(),'USER','Invalid Verification URL', print_r($qs,true),false, LOG_TO_ROLLING);
$log->addEvent(10,debug_backtrace(),'USER','Invalid Verification URL', print_r($qs,true),false, LOG_TO_ROLLING);
}
}
@@ -434,10 +434,11 @@ class e_signup_class
}
/**
* Create email to send to user who just registered.
*
* @param array $userInfo is the array of user-related DB variables
* @param bool $preview
* @return array of data for mailer - field names directly compatible
*/
function render_email($userInfo, $preview = FALSE)