diff --git a/classes/class.ilBigBlueButtonConfigGUI.php b/classes/class.ilBigBlueButtonConfigGUI.php index 231fef4..bbe7fd3 100755 --- a/classes/class.ilBigBlueButtonConfigGUI.php +++ b/classes/class.ilBigBlueButtonConfigGUI.php @@ -180,7 +180,7 @@ public function save() $num = $ilDB->numRows($result); if ($num == 0) { $ilDB->manipulate("INSERT INTO rep_robj_xbbb_conf ". - "(id, svrpublicurl, svrsalt, choose_recording) VALUES (". + "(id, svrpublicurl, svrsalt, choose_recording, guestglobalchoose, sess_enable_max_concurrent, enable_userlimit, sess_max_concurrent, sess_msg_concurrent ) VALUES (". $ilDB->quote(1, "integer").",". // id $ilDB->quote($setPublicURL, "text").",". //public url $ilDB->quote($setSalt, "text").",". //salt diff --git a/classes/class.ilBigBlueButtonPlugin.php b/classes/class.ilBigBlueButtonPlugin.php index 29a84ae..47a1251 100755 --- a/classes/class.ilBigBlueButtonPlugin.php +++ b/classes/class.ilBigBlueButtonPlugin.php @@ -18,11 +18,11 @@ protected function uninstallCustom() { global $ilDB; // removes plugin tables if they exist - /* if($ilDB->tableExists('rep_robj_xbbb_data')) + if($ilDB->tableExists('rep_robj_xbbb_data')) $ilDB->dropTable('rep_robj_xbbb_data'); if($ilDB->tableExists('rep_robj_xbbb_conf')) - $ilDB->dropTable('rep_robj_xbbb_conf');*/ + $ilDB->dropTable('rep_robj_xbbb_conf'); return true; } } diff --git a/classes/class.ilBigBlueButtonProtocol.php b/classes/class.ilBigBlueButtonProtocol.php index 07d6c56..42b9785 100755 --- a/classes/class.ilBigBlueButtonProtocol.php +++ b/classes/class.ilBigBlueButtonProtocol.php @@ -146,8 +146,15 @@ public function isMeetingRecorded($object) $meetingID=$object->getBBBId(); $mPW=$object->getModeratorPwd(); ; - $meetingInfo = $this->bbb->getMeetingInfo(new GetMeetingInfoParameters($meetingID, $mPW)); - return $meetingInfo->success(); + $meetingInfo= null; + try{ + $meetingInfo = $this->bbb->getMeetingInfo(new GetMeetingInfoParameters($meetingID, $mPW)); + return $meetingInfo->success(); + }catch(Exception $e){ + return $meetingInfo; + } + + }