| @@ 635-644 (lines=10) @@ | ||
| 632 | /** |
|
| 633 | * Function disabled |
|
| 634 | */ |
|
| 635 | public function publishMeeting($id) |
|
| 636 | { |
|
| 637 | //return BigBlueButtonBN::setPublishRecordings($id, 'true', $this->url, $this->salt); |
|
| 638 | if (empty($id)) { |
|
| 639 | ||
| 640 | return false; |
|
| 641 | } |
|
| 642 | $id = intval($id); |
|
| 643 | Database::update($this->table, array('visibility' => 1), array('id = ? ' => $id)); |
|
| 644 | ||
| 645 | return true; |
|
| 646 | } |
|
| 647 | ||
| @@ 651-660 (lines=10) @@ | ||
| 648 | /** |
|
| 649 | * Function disabled |
|
| 650 | */ |
|
| 651 | public function unpublishMeeting($id) |
|
| 652 | { |
|
| 653 | //return BigBlueButtonBN::setPublishRecordings($id, 'false', $this->url, $this->salt); |
|
| 654 | if (empty($id)) { |
|
| 655 | ||
| 656 | return false; |
|
| 657 | } |
|
| 658 | $id = intval($id); |
|
| 659 | Database::update($this->table, array('visibility' => 0), array('id = ?' => $id)); |
|
| 660 | ||
| 661 | return true; |
|
| 662 | } |
|
| 663 | ||