[svn r12957] Added max_time_allowed field to deal with the optional SCORM 1.2 parameter adlcp:maxtimeallowed

skala
Yannick Warnier 18 years ago
parent cccf074975
commit b137515cf0
  1. 3
      main/inc/lib/add_course.lib.inc.php
  2. 1
      main/install/migrate-db-1.8.3-1.8.4-pre.sql

@ -962,7 +962,8 @@ function update_Db_course($courseDbName)
"display_order int unsigned not null default 0," . //this is needed for ordering items under the same parent (previous_item_id doesn't give correct order after reordering)
"prerequisite char(64) null," . //prerequisites in AICC scripting language as defined in the SCORM norm (allow logical operators)
"parameters text null," . //prerequisites in AICC scripting language as defined in the SCORM norm (allow logical operators)
"launch_data text not null default '')"; //data from imsmanifest <item>
"launch_data text not null default ''," . //data from imsmanifest <item>
"max_time_allowed char(13) NULL default '')"; //data from imsmanifest <adlcp:maxtimeallowed>
if(!api_sql_query($sql))
{
error_log($sql,0);

@ -29,3 +29,4 @@ INSERT INTO settings_options(variable,value,display_text) VALUES ('default_forum
-- xxCOURSExx
ALTER TABLE survey ADD anonymous ENUM( '0', '1' ) NOT NULL DEFAULT '0';
ALTER TABLE lp_item ADD max_time_allowed char(13) NULL DEFAULT '';

Loading…
Cancel
Save