Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important.
This commit is contained in:
parent
57d2dbed56
commit
96bb194402
8 changed files with 11 additions and 11 deletions
|
|
@ -1127,7 +1127,7 @@ sub www_emailRecoverPasswordFinish {
|
|||
my $mail = WebGUI::Mail::Send->create($session, { to=>$email, subject=>$i18n->get('WebGUI password recovery')});
|
||||
my $vars = { };
|
||||
$vars->{recoverPasswordUrl} = $session->url->append($session->url->getSiteURL,'op=auth;method=emailResetPassword;token='.$recoveryGuid);
|
||||
my $template = WebGUI::Asset->newByDynamicClass($session, $session->setting->get('webguiPasswordRecoveryEmailTemplate'));
|
||||
my $template = WebGUI::Asset->newById($session, $session->setting->get('webguiPasswordRecoveryEmailTemplate'));
|
||||
my $emailText = $template->process($vars);
|
||||
WebGUI::Macro::process($session, \$emailText);
|
||||
$mail->addText($emailText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue