[svn r10202] replace get_course_tool_list_table with get_course_table(TABLE_TOOL_LIST) and remove the get_course_tool_list_table

skala
Patrick Cool 19 years ago
parent 17b3a4a09e
commit 24f54b0c45
  1. 11
      main/inc/lib/database.lib.php
  2. 2
      main/newscorm/document.php

@ -591,17 +591,6 @@ class Database
{
return mysql_num_rows($res);
}
/**
* Returns the name of the tool table of a course.
* If no database parameter is present, the function works on the current course.
*/
function get_course_tool_list_table($database_name = '')
{
$database_name_with_glue = Database::fix_database_parameter($database_name);
return Database::format_glued_course_table_name($database_name_with_glue, TABLE_TOOL_LIST);
}
}
//end class Database
?>

@ -51,7 +51,7 @@ require_once('learnpathItem.class.php');
// storing the tables names in variables.
$tbl_document = Database::get_course_table(TABLE_SCORMDOC);
$tbl_learnpath_main = Database::get_course_learnpath_main_table();
$tbl_tool = Database::get_course_tool_list_table();
$tbl_tool = Database::get_course_table(TABLE_TOOL_LIST);
$default_visibility="v";
$show_description_field=0;

Loading…
Cancel
Save