1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Use $this->objectAction

This commit is contained in:
Tim Düsterhus 2012-08-10 17:15:25 +02:00
parent 3bb8ef4577
commit e8618f2c13

View File

@ -171,7 +171,7 @@ public function save() {
$messageAction->executeAction();
}
$messageAction = new chat\message\ChatMessageAction(array(), 'create', array(
$this->objectAction = new chat\message\ChatMessageAction(array(), 'create', array(
'data' => array(
'roomID' => $this->room->roomID,
'sender' => WCF::getUser()->userID,
@ -186,7 +186,7 @@ public function save() {
'color2' => $this->userData['color'][2]
)
));
$messageAction->executeAction();
$this->objectAction->executeAction();
$this->saved();
}