From 6c66821924c3b61d521d24ef1b03fbade8ea45d7 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Wed, 1 Feb 2012 10:21:08 +0100 Subject: [PATCH] Revert "SCORM AICC MDL-31039 update external AICC url correctly..", thanks Ankit! This reverts commit a607db6e70229dbcb46bf62154bcf0a9e9494c3c. --- mod/scorm/lib.php | 3 +-- mod/scorm/mod_form.php | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index 091f6695e2e..77fb34c7445 100644 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -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; } diff --git a/mod/scorm/mod_form.php b/mod/scorm/mod_form.php index 9b6af66212b..57c187ae8f6 100644 --- a/mod/scorm/mod_form.php +++ b/mod/scorm/mod_form.php @@ -369,7 +369,6 @@ class mod_scorm_mod_form extends moodleform_mod { case SCORM_TYPE_LOCALSYNC : case SCORM_TYPE_EXTERNAL: case SCORM_TYPE_IMSREPOSITORY: - case SCORM_TYPE_AICCURL: $default_values['packageurl'] = $default_values['reference']; } }