@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * $return->time = the time they did it |
| 220 | 220 | * $return->info = a short text description. |
| 221 | 221 | * |
| 222 | - * @return bool |
|
| 222 | + * @return string |
|
| 223 | 223 | */ |
| 224 | 224 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 225 | 225 | global $DB; |
@@ -462,9 +462,7 @@ discard block |
||
| 462 | 462 | * that was uploaded, or if there is none, set the |
| 463 | 463 | * presentation field to blank. |
| 464 | 464 | * |
| 465 | - * @param int $bigbluebuttonbnid the bigbluebuttonbn id |
|
| 466 | - * @param stdClass $context the context |
|
| 467 | - * @param int $draftitemid the draft item |
|
| 465 | + * @param int $bigbluebuttonbn the bigbluebuttonbn id |
|
| 468 | 466 | */ |
| 469 | 467 | function bigbluebuttonbn_update_media_file(&$bigbluebuttonbn) { |
| 470 | 468 | global $DB; |
@@ -517,6 +515,10 @@ discard block |
||
| 517 | 515 | send_stored_file($file, 0, 0, $forcedownload, $options); // download MUST be forced - security! |
| 518 | 516 | } |
| 519 | 517 | |
| 518 | +/** |
|
| 519 | + * @param stdClass $context |
|
| 520 | + * @param string $filearea |
|
| 521 | + */ |
|
| 520 | 522 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 521 | 523 | if ($context->contextlevel != CONTEXT_MODULE) { |
| 522 | 524 | return false; |
@@ -533,6 +535,12 @@ discard block |
||
| 533 | 535 | return true; |
| 534 | 536 | } |
| 535 | 537 | |
| 538 | +/** |
|
| 539 | + * @param stdClass $course |
|
| 540 | + * @param stdClass $cm |
|
| 541 | + * @param stdClass $context |
|
| 542 | + * @param string $filearea |
|
| 543 | + */ |
|
| 536 | 544 | function bigbluebuttonbn_pluginfile_file($course, $cm, $context, $filearea, $args) { |
| 537 | 545 | $filename = bigbluebuttonbn_pluginfile_filename($course, $cm, $context, $args); |
| 538 | 546 | if (!$filename) { |