Commit aa5bc51ac9cf75328208391af43e2317c4dc5c7a
1 parent
a3e679bc
14.06.16
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
common/modules/product/models/Import.php
@@ -131,8 +131,6 @@ class Import extends Model { | @@ -131,8 +131,6 @@ class Import extends Model { | ||
131 | } | 131 | } |
132 | 132 | ||
133 | $productVariant->stocks[$stock->stock_id] = $count; | 133 | $productVariant->stocks[$stock->stock_id] = $count; |
134 | - print_r($productVariant); | ||
135 | - die(); | ||
136 | $quantity = $quantity + $count; | 134 | $quantity = $quantity + $count; |
137 | } | 135 | } |
138 | 136 |
common/widgets/Mailer.php
@@ -38,10 +38,10 @@ class Mailer extends Widget{ | @@ -38,10 +38,10 @@ class Mailer extends Widget{ | ||
38 | $mail->CharSet = 'UTF-8'; | 38 | $mail->CharSet = 'UTF-8'; |
39 | $mail->Username = ""; | 39 | $mail->Username = ""; |
40 | $mail->Password = ""; | 40 | $mail->Password = ""; |
41 | - $mail->SetFrom('dockdep@gmail.com'); | 41 | + $mail->SetFrom(' rukza4ok@eltrade.com.ua'); |
42 | $mail->Subject = $this->subject; | 42 | $mail->Subject = $this->subject; |
43 | $mail->MsgHTML($this->render($this->type, ['params' => $this->params])); | 43 | $mail->MsgHTML($this->render($this->type, ['params' => $this->params])); |
44 | - $address = "dockdep@gmail.com"; | 44 | + $address = " rukza4ok@eltrade.com.ua"; |
45 | $mail->AddAddress($address); | 45 | $mail->AddAddress($address); |
46 | $mail->AddAddress($this->email); | 46 | $mail->AddAddress($this->email); |
47 | if(!$mail->send()) { | 47 | if(!$mail->send()) { |