summaryrefslogtreecommitdiff
path: root/demos/chat/protected
diff options
context:
space:
mode:
Diffstat (limited to 'demos/chat/protected')
-rw-r--r--demos/chat/protected/App_Code/ChatBufferRecord.php4
-rw-r--r--demos/chat/protected/App_Code/ChatUserRecord.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/chat/protected/App_Code/ChatBufferRecord.php b/demos/chat/protected/App_Code/ChatBufferRecord.php
index cf3c651f..03f94704 100644
--- a/demos/chat/protected/App_Code/ChatBufferRecord.php
+++ b/demos/chat/protected/App_Code/ChatBufferRecord.php
@@ -22,9 +22,9 @@ class ChatBufferRecord extends TActiveRecord
$this->_created_on = $value;
}
- public static function finder()
+ public static function finder($className=__CLASS__)
{
- return parent::getRecordFinder('ChatBufferRecord');
+ return parent::finder($className);
}
public function saveMessage()
diff --git a/demos/chat/protected/App_Code/ChatUserRecord.php b/demos/chat/protected/App_Code/ChatUserRecord.php
index 9bfb11cd..e5ebc761 100644
--- a/demos/chat/protected/App_Code/ChatUserRecord.php
+++ b/demos/chat/protected/App_Code/ChatUserRecord.php
@@ -19,9 +19,9 @@ class ChatUserRecord extends TActiveRecord
$this->_last_activity = $value;
}
- public static function finder()
+ public static function finder($className=__CLASS__)
{
- return parent::getRecordFinder('ChatUserRecord');
+ return parent::finder($className);
}
public function getUserList()