From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- demos/chat/protected/App_Code/ChatUserRecord.php | 80 ++++++++++++------------ 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'demos/chat/protected/App_Code/ChatUserRecord.php') diff --git a/demos/chat/protected/App_Code/ChatUserRecord.php b/demos/chat/protected/App_Code/ChatUserRecord.php index b68fbd4d..ee45cf84 100644 --- a/demos/chat/protected/App_Code/ChatUserRecord.php +++ b/demos/chat/protected/App_Code/ChatUserRecord.php @@ -1,41 +1,41 @@ -_last_activity === null) - $this->_last_activity = time(); - return $this->_last_activity; - } - - public function setLast_Activity($value) - { - $this->_last_activity = $value; - } - - public static function finder($className=__CLASS__) - { - return parent::finder($className); - } - - public function getUserList() - { - $this->deleteAll('last_activity < ?', time()-300); //5 min inactivity - $content = ''; - - return $content; - } -} - +_last_activity === null) + $this->_last_activity = time(); + return $this->_last_activity; + } + + public function setLast_Activity($value) + { + $this->_last_activity = $value; + } + + public static function finder($className=__CLASS__) + { + return parent::finder($className); + } + + public function getUserList() + { + $this->deleteAll('last_activity < ?', time()-300); //5 min inactivity + $content = ''; + + return $content; + } +} + ?> \ No newline at end of file -- cgit v1.2.3