Moodle

rubbish in scorm/locallib.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.9.5
  • Component/s: SCORM
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

this code is in locallib.php hidden in between functions and shouldn't be there as it isn't inside a function! - only appears in 1.9Stable not HEAD

$stdoptions = '';
foreach (scorm_get_popup_options_array() as $popupopt => $value) {
$stdoptions .= $popupopt.'='.$value;
if ($popupopt != 'status') { $stdoptions .= ','; }
}

if (!isset($CFG->scorm_advancedsettings)) {
set_config('scorm_advancedsettings','0');
}

if (!isset($CFG->scorm_windowsettings)) {
set_config('scorm_windowsettings','0');
}

Activity

Hide
Dan Marsden added a comment -

code removed - already removed in HEAD

Show
Dan Marsden added a comment - code removed - already removed in HEAD
Hide
Jerome Mouneyrac added a comment -

good look

Show
Jerome Mouneyrac added a comment - good look

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: