- Debug

parent 55f38fa2
......@@ -158,7 +158,7 @@ class Bid extends \common\components\ActiveRecordModel
/** @var User $user */
$user = User::find()->where(['email' => $this->email])->one();
if (!is_null($user)) {
var_dump($user->afterSubscribe(['email' => $this->email], true));
$user->afterSubscribe(['email' => $this->email], true);
}
}
}
......@@ -652,7 +652,6 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
if ($exists===true && $count==1) {
$init = $trigger->initAction($params);
if ($init===true) {
return 'asd';
// Указываем дату следующей отправки (по умолчанию сегодня, в момент срабатывания триггера)
$user=User::findOne($this->id);
$user->delivery_date = $date->format('Y-m-d');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment