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