Skip to content
Browse files

Refixed bug MDL-7325

  • Loading branch information...
1 parent 91cf2fb commit 9e3e85eb05aeccdfefaf3d3407bcc633e75ebb43 bobopinna committed Jul 3, 2007
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/scorm/lib.php
View
3 mod/scorm/lib.php
@@ -18,7 +18,6 @@
* @return int
*/
-require_once($CFG->dirroot.'/mod/scorm/locallib.php');
function scorm_add_instance($scorm) {
if(empty($scorm->datadir)) { //check to make sure scorm object is valid BEFORE entering it in the database.
@@ -360,7 +359,7 @@ function scorm_get_post_actions() {
}
function scorm_option2text($scorm) {
- global $SCORM_POPUP_OPTIONS;
+ require_once('locallib.php');
if (isset($scorm->popup)) {
if ($scorm->popup) {

0 comments on commit 9e3e85e

Please sign in to comment.
Something went wrong with that request. Please try again.