Permalink
Browse files

Revert "SCORM AICC MDL-31039 update external AICC url correctly..", t…

…hanks Ankit!

This reverts commit a607db6.
  • Loading branch information...
1 parent 8837d68 commit 6c66821924c3b61d521d24ef1b03fbade8ea45d7 @stronk7 stronk7 committed Feb 1, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −2 mod/scorm/lib.php
  2. +0 −1 mod/scorm/mod_form.php
View
@@ -181,8 +181,7 @@ function scorm_update_instance($scorm, $mform=null) {
} else if ($scorm->scormtype === SCORM_TYPE_IMSREPOSITORY) {
$scorm->reference = $scorm->packageurl;
- } else if ($scorm->scormtype === SCORM_TYPE_AICCURL) {
- $scorm->reference = $scorm->packageurl;
+
} else {
return false;
}
View
@@ -369,7 +369,6 @@ function set_data($default_values) {
case SCORM_TYPE_LOCALSYNC :
case SCORM_TYPE_EXTERNAL:
case SCORM_TYPE_IMSREPOSITORY:
- case SCORM_TYPE_AICCURL:
$default_values['packageurl'] = $default_values['reference'];
}
}

0 comments on commit 6c66821

Please sign in to comment.