// Adding some hooks :)

This commit is contained in:
fSerny
2012-02-02 14:18:07 +00:00
parent 1cc8cce4bf
commit 262c056676
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,