[svn r14453] Improved settings check for videoconference link in new courses

skala
Yannick Warnier 17 years ago
parent 90396bbdb2
commit 74c7f93ac2
  1. 3
      main/inc/lib/add_course.lib.inc.php

@ -1670,7 +1670,8 @@ function fill_Db_course($courseDbName, $courseRepository, $language,$default_doc
api_sql_query("INSERT INTO `" . $tbl_course_homepage . "` VALUES ('', '" . TOOL_STUDENTPUBLICATION . "','work/work.php','works.gif','".string2binary(api_get_setting('course_create_active_tools', 'student_publications')) . "','0','squaregrey.gif','NO','_self','interaction')");
if(api_get_setting('service_visio','active')=='true'){
if(api_get_setting('service_visio','active')=='true')
{
if(!empty(api_get_setting('service_visio','visio_host')))
{
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')");

Loading…
Cancel
Save