summaryrefslogtreecommitdiff
path: root/demos/chat/protected/App_Code/ChatBufferRecord.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/chat/protected/App_Code/ChatBufferRecord.php')
-rw-r--r--demos/chat/protected/App_Code/ChatBufferRecord.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/chat/protected/App_Code/ChatBufferRecord.php b/demos/chat/protected/App_Code/ChatBufferRecord.php
index 03f94704..f4d53db0 100644
--- a/demos/chat/protected/App_Code/ChatBufferRecord.php
+++ b/demos/chat/protected/App_Code/ChatBufferRecord.php
@@ -2,14 +2,14 @@
class ChatBufferRecord extends TActiveRecord
{
+ const TABLE='chat_buffer';
+
public $id;
public $for_user;
public $from_user;
public $message;
private $_created_on;
- public static $_tablename='chat_buffer';
-
public function getCreated_On()
{
if($this->_created_on === null)