- Изменены передаваемые параметры в методы afterRegistration и afterSubscribe

parent 30b7944d
......@@ -548,7 +548,7 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
/**
* @param $template_id
*/
public function afterRegistration($template_id, $params){
public function afterRegistration($template_id, $params=array()){
/** @var \DateTime $time_now */
$time_now=new \DateTime();
/** @var MessageTemplate $templateModel */
......@@ -599,7 +599,7 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
/**
* @param $template_id
*/
public function afterSubscribe($template_id, $params){
public function afterSubscribe($template_id, $params=array()){
/** @var \DateTime $time_now */
$time_now=new \DateTime();
/** @var MessageTemplate $templateModel */
......
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