@@ 722-731 (lines=10) @@ | ||
719 | /** |
|
720 | * Function disabled |
|
721 | */ |
|
722 | public function publishMeeting($id) |
|
723 | { |
|
724 | //return BigBlueButtonBN::setPublishRecordings($id, 'true', $this->url, $this->salt); |
|
725 | if (empty($id)) { |
|
726 | ||
727 | return false; |
|
728 | } |
|
729 | $id = intval($id); |
|
730 | Database::update($this->table, array('visibility' => 1), array('id = ? ' => $id)); |
|
731 | ||
732 | return true; |
|
733 | } |
|
734 | ||
@@ 738-747 (lines=10) @@ | ||
735 | /** |
|
736 | * Function disabled |
|
737 | */ |
|
738 | public function unpublishMeeting($id) |
|
739 | { |
|
740 | //return BigBlueButtonBN::setPublishRecordings($id, 'false', $this->url, $this->salt); |
|
741 | if (empty($id)) { |
|
742 | ||
743 | return false; |
|
744 | } |
|
745 | $id = intval($id); |
|
746 | Database::update($this->table, array('visibility' => 0), array('id = ?' => $id)); |
|
747 | ||
748 | return true; |
|
749 | } |
|
750 |