diff options
Diffstat (limited to 'demos/chat/protected/App_Code/ChatUserRecord.php')
-rw-r--r-- | demos/chat/protected/App_Code/ChatUserRecord.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/chat/protected/App_Code/ChatUserRecord.php b/demos/chat/protected/App_Code/ChatUserRecord.php index e5ebc761..b68fbd4d 100644 --- a/demos/chat/protected/App_Code/ChatUserRecord.php +++ b/demos/chat/protected/App_Code/ChatUserRecord.php @@ -2,11 +2,11 @@ class ChatUserRecord extends TActiveRecord
{
+ const TABLE='chat_users';
+
public $username;
private $_last_activity;
- public static $_tablename='chat_users';
-
public function getLast_Activity()
{
if($this->_last_activity === null)
|