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

Adding ChatForm-skeleton

This commit is contained in:
Tim Düsterhus 2011-12-13 22:10:35 +01:00
parent 062241ce70
commit d4d748950a
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,15 @@
<?php
namespace wcf\form;
/**
* Inserts a message
*
* @author Tim Düsterhus
* @copyright 2010-2011 Tim Düsterhus
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
* @package timwolla.wcf.chat
* @subpackage form
*/
class ChatForm extends AbstractForm {
}

View File

@ -107,7 +107,7 @@ public function readParameters() {
exit;
}
else if ($this->action == 'Send') {
//TODO: Safe message in database
new \wcf\form\ChatForm();
exit;
}