Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23498

scorm_grade_user has extra params that are never used.

    XMLWordPrintable

    Details

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

      Description

      the function scorm_grade_user in locallib has the var $time which always == false as the function is never called including the 3rd var

      there is various logic in scorm_grade_user that is supposed to handle a different return - looks like it's supposed to return the time the attempt was made but this is never used.

      The function scorm_grade_user_attempt needs to have it's time var evaluated it may be the same.

        Attachments

          Activity

            People

            Assignee:
            danmarsden Dan Marsden
            Reporter:
            danmarsden Dan Marsden
            Tester:
            Nobody
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10