Skip to content
Permalink
Browse files

Added support to AICC

  • Loading branch information...
bobopinna
bobopinna committed Apr 18, 2005
1 parent e8263c8 commit 473526b3264d0b99ba339e12b73d96c259e61476
Showing with 5 additions and 1 deletion.
  1. +4 −0 mod/scorm/db/postgres7.php
  2. +1 −1 mod/scorm/lib.php
@@ -127,6 +127,10 @@ function scorm_upgrade($oldversion) {
}
execute_sql('ALTER TABLE '.$CFG->prefix.'scorm DROP datadir'); // Old field
}
if ($oldversion < 2005041600) {
table_column("scorm", "", "version", "VARCHAR", "9", "", "SCORM_1.2", "NOT NULL", "reference");
}
return true;
}
@@ -98,7 +98,7 @@ function scorm_delete_instance($id) {
$result = true;
# Delete any dependent files #
scorm_delete_files($CFG->dataroot.'/'.$scorm->course.'/moddata/scorm'.$scorm->id);
scorm_delete_files($CFG->dataroot.'/'.$scorm->course.'/moddata/scorm/'.$scorm->id);
# Delete any dependent records here #
if (! delete_records('scorm_scoes_track', 'scormid', $scorm->id)) {

0 comments on commit 473526b

Please sign in to comment.
You can’t perform that action at this time.