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

Unused $context parameter in quiz_get_combined_reviewoptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.10, 2.9.4, 3.0.2
    • Fix Version/s: 2.9.5, 3.0.3
    • Component/s: Quiz
    • Labels:

      Description

      quiz_get_combined_reviewoptions is called from mod/quiz/view.php and mod/quiz/index.php passing a $context parameter that is not in the function's parameters declaration.

      the $context parameter is only in the PHPDoc it seems that sometime ago was used.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              jleyva Juan Leyva
              Integrator:
              Andrew Nicols
              Tester:
              David Monllaó
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Mar/16