@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * $return->time = the time they did it |
| 219 | 219 | * $return->info = a short text description. |
| 220 | 220 | * |
| 221 | - * @return bool |
|
| 221 | + * @return string |
|
| 222 | 222 | */ |
| 223 | 223 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 224 | 224 | global $DB; |
@@ -513,6 +513,10 @@ discard block |
||
| 513 | 513 | send_stored_file($file, 0, 0, $forcedownload, $options); // download MUST be forced - security! |
| 514 | 514 | } |
| 515 | 515 | |
| 516 | +/** |
|
| 517 | + * @param stdClass $context |
|
| 518 | + * @param string $filearea |
|
| 519 | + */ |
|
| 516 | 520 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 517 | 521 | if ($context->contextlevel != CONTEXT_MODULE) { |
| 518 | 522 | return false; |
@@ -529,6 +533,12 @@ discard block |
||
| 529 | 533 | return true; |
| 530 | 534 | } |
| 531 | 535 | |
| 536 | +/** |
|
| 537 | + * @param stdClass $course |
|
| 538 | + * @param stdClass $cm |
|
| 539 | + * @param stdClass $context |
|
| 540 | + * @param string $filearea |
|
| 541 | + */ |
|
| 532 | 542 | function bigbluebuttonbn_pluginfile_file($course, $cm, $context, $filearea, $args) { |
| 533 | 543 | $filename = bigbluebuttonbn_pluginfile_filename($course, $cm, $context, $args); |
| 534 | 544 | if (!$filename) { |