@@ -209,11 +209,11 @@ discard block |
||
| 209 | 209 | /** |
| 210 | 210 | * Gives a list of people online now (and in the last $valid minutes) |
| 211 | 211 | * |
| 212 | - * @param $from |
|
| 212 | + * @param integer $from |
|
| 213 | 213 | * @param $number_of_items |
| 214 | 214 | * @param null $column |
| 215 | 215 | * @param null $direction |
| 216 | - * @param null $time_limit |
|
| 216 | + * @param integer $time_limit |
|
| 217 | 217 | * @param bool $friends |
| 218 | 218 | * @return array|bool For each line, a list of user IDs and login dates, or FALSE on error or empty results |
| 219 | 219 | */ |
@@ -435,6 +435,9 @@ discard block |
||
| 435 | 435 | } |
| 436 | 436 | } |
| 437 | 437 | |
| 438 | +/** |
|
| 439 | + * @param integer $uid |
|
| 440 | + */ |
|
| 438 | 441 | function who_is_online_in_this_course_count($uid, $time_limit, $coursecode=null) |
| 439 | 442 | { |
| 440 | 443 | if (empty($coursecode)) { |