Фикс для очереди пула ников

This commit is contained in:
ErickSkrauch
2016-10-25 22:20:44 +03:00
parent 7315ddc4ea
commit f3b953607d
3 changed files with 5 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ class ChangeUsernameForm extends ApiForm {
public function createEventTask($accountId, $newNickname, $oldNickname) {
$model = new UsernameChanged;
$model->accountId = $accountId;
$model-> oldUsername = $oldNickname;
$model->oldUsername = $oldNickname;
$model->newUsername = $newNickname;
$message = Amqp::getInstance()->prepareMessage($model, [