1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00
This commit is contained in:
Tim Düsterhus 2013-11-28 00:51:17 +01:00
parent 3483422f1a
commit 84303306a8
3 changed files with 5 additions and 5 deletions

View File

@ -88,10 +88,10 @@ public function save() {
parent::save();
// save room
$this->objectAction = new \chat\data\room\RoomAction(array(), 'create', array('data' => array(
$this->objectAction = new \chat\data\room\RoomAction(array(), 'create', array('data' => array_merge($this->additionalFields, array(
'title' => $this->title,
'topic' => $this->topic
)));
))));
$this->objectAction->executeAction();
$returnValues = $this->objectAction->getReturnValues();
$roomEditor = new \chat\data\room\RoomEditor($returnValues['returnValues']);

View File

@ -87,10 +87,10 @@ public function save() {
\chat\system\permission\PermissionHandler::clearCache();
// update room
$this->objectAction = new \chat\data\room\RoomAction(array($this->roomID), 'update', array('data' => array(
$this->objectAction = new \chat\data\room\RoomAction(array($this->roomID), 'update', array('data' => array_merge($this->additionalFields, array(
'title' => $this->title,
'topic' => $this->topic
)));
))));
$this->objectAction->executeAction();
$this->saved();

View File

@ -17,7 +17,7 @@
</authorinformation>
<requiredpackages>
<requiredpackage minversion="2.0.0 Beta 11">com.woltlab.wcf</requiredpackage>
<requiredpackage minversion="2.0.0 RC 3">com.woltlab.wcf</requiredpackage>
<requiredpackage file="requirements/be.bastelstu.max.wcf.jCounter.tar" minversion="1.0.0 Beta 4">be.bastelstu.max.wcf.jCounter</requiredpackage>
<requiredpackage file="requirements/be.bastelstu.wcf.nodePush.tar">be.bastelstu.wcf.nodePush</requiredpackage>
</requiredpackages>