| @@ 470-481 (lines=12) @@ | ||
| 467 | /** |
|
| 468 | * @param string $recordIDs |
|
| 469 | */ |
|
| 470 | function bigbluebuttonbn_doDeleteRecordings($recordIDs) |
|
| 471 | { |
|
| 472 | $ids = explode(',', $recordIDs); |
|
| 473 | foreach ($ids as $id) { |
|
| 474 | $xml = bigbluebuttonbn_wrap_xml_load_file(bigbluebuttonbn_getDeleteRecordingsURL($id)); |
|
| 475 | if ($xml && $xml->returncode != 'SUCCESS') { |
|
| 476 | return false; |
|
| 477 | } |
|
| 478 | } |
|
| 479 | ||
| 480 | return true; |
|
| 481 | } |
|
| 482 | ||
| 483 | /** |
|
| 484 | * @param string $recordIDs |
|
| @@ 487-498 (lines=12) @@ | ||
| 484 | * @param string $recordIDs |
|
| 485 | * @param string $publish |
|
| 486 | */ |
|
| 487 | function bigbluebuttonbn_doPublishRecordings($recordIDs, $publish) |
|
| 488 | { |
|
| 489 | $ids = explode(',', $recordIDs); |
|
| 490 | foreach ($ids as $id) { |
|
| 491 | $xml = bigbluebuttonbn_wrap_xml_load_file(bigbluebuttonbn_getPublishRecordingsURL($id, $publish)); |
|
| 492 | if ($xml && $xml->returncode != 'SUCCESS') { |
|
| 493 | return false; |
|
| 494 | } |
|
| 495 | } |
|
| 496 | ||
| 497 | return true; |
|
| 498 | } |
|
| 499 | ||
| 500 | /** |
|
| 501 | * @param string $meetingID |
|