Commit bb5747731a105287aee2fa36f217211644047002
1 parent
388ac3ef
task configuration
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/app/tasks/BasketTask.php
| ... | ... | @@ -27,11 +27,10 @@ class BasketTask extends \Phalcon\CLI\Task |
| 27 | 27 | |
| 28 | 28 | $abandoned_users = $this->models->getBasket()->getAbandonedUsers(); |
| 29 | 29 | |
| 30 | - var_dump($abandoned_users); | |
| 31 | - | |
| 32 | 30 | foreach ($abandoned_users as $item) { |
| 33 | 31 | |
| 34 | 32 | $user_id = $item['user_id']; |
| 33 | + echo $user_id; | |
| 35 | 34 | $user = $this->models->getCustomers()->getOneData($user_id); |
| 36 | 35 | if (!empty($user['email'])) { |
| 37 | 36 | ... | ... |