fixed bug Account Service

This commit is contained in:
Jianxuan Li 2015-01-19 22:03:34 +08:00
parent 911e7d4043
commit cbe18f5699
1 changed files with 0 additions and 1 deletions

View File

@ -111,7 +111,6 @@ class Account extends AbstractEventManager implements ServiceManagerAwareInterfa
$mb->putcookie($data[$this->FieldUsername],$data[$this->FieldPasword]); $mb->putcookie($data[$this->FieldUsername],$data[$this->FieldPasword]);
} }
$data = $registerData;
$params = compact('data','id'); $params = compact('data','id');
$this->getEventManager()->trigger('register.success', $this, $params); $this->getEventManager()->trigger('register.success', $this, $params);
return array("success" => 1); return array("success" => 1);