function deleteRoom($room_id)
 {
     $conference = $this->roomInfo($room_id);
     $room_del = "\r\n\t\tDELETE FROM " . $this->_getRoomTable() . "\r\n\t\tWHERE id = '" . $room_id . "'";
     $re_room = $this->_query($room_del);
     $event = new DoceboCalEvent_lms();
     $event->id = $conference["idCal"];
     $event->del();
     $plugin_conference = $this->PluginConferenceAdm->getElement($conference["room_type"], "code");
     $classname = PluginManager::getPlugins($plugin_conference['name']);
     $classconference = new $classname();
     $url = $classconference->deleteRoom($room_id);
     return $re_room;
 }
 function deleteRoom($room_id)
 {
     $conference = $this->roomInfo($room_id);
     $room_del = "\r\n\t\tDELETE FROM " . $this->_getRoomTable() . "\r\n\t\tWHERE id = '" . $room_id . "'";
     $re_room = $this->_query($room_del);
     $event = new DoceboCalEvent_lms();
     $event->id = $conference["idCal"];
     $event->del();
     switch ($conference["room_type"]) {
         case "dimdim":
             $dimdim = new DimDim_Manager();
             $dimdim->deleteRoom($room_id);
             break;
         case "bbb":
             $bbb = new Bbb_Manager();
             $bbb->deleteRoom($room_id);
             break;
         case "teleskill":
             $teleskill = new Teleskill_Management();
             $teleskill->deleteRemoteRoom($room_id);
             break;
     }
     return $re_room;
 }