[svn r14451] Fixed new courses creation to suit new videoconference tool

skala
Yannick Warnier 17 years ago
parent dfe4279549
commit 62ac70521b
  1. 6
      main/inc/lib/add_course.lib.inc.php

@ -1671,10 +1671,8 @@ function fill_Db_course($courseDbName, $courseRepository, $language,$default_doc
if(api_get_setting('service_visio','active')=='true'){
if(api_get_setting('service_visio','visioconference_url'))
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
if(api_get_setting('service_visio','visioclassroom_url'))
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CONFERENCE . "','conference/index.php?type=conference','visio_meeting.gif','1','0','squaregrey.gif','NO','_self','interaction')");
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_VISIO_CLASSROOM . "','conference/index.php?type=classroom','visio.gif','1','0','squaregrey.gif','NO','_self','authoring')");
}
// Smartblogs (Kevin Van Den Haute :: kevin@develop-it.be)

Loading…
Cancel
Save