// Adding some hooks :)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12932 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-02-02 14:18:07 +00:00
parent fb02212083
commit a5d024ad84
7 changed files with 17 additions and 4 deletions
+1
View File
@@ -81,6 +81,7 @@ class PasswordControllerCore extends FrontController
$customer->last_passwd_gen = date('Y-m-d H:i:s', time());
if ($customer->update())
{
Hook::exec('actionPasswordRenew', array('customer' => $customer, 'password' => $password));
if (Mail::Send($this->context->language->id, 'password', Mail::l('Your password'),
array(
'{email}' => $customer->email,