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