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:
parent
3bb8ef4577
commit
e8618f2c13
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user