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

Unused $context parameter in quiz_get_combined_reviewoptions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.10, 2.9.4, 3.0.2
    • 2.9.5, 3.0.3
    • Quiz

    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

              timhunt Tim Hunt
              jleyva Juan Leyva
              Andrew Lyons Andrew Lyons
              David Monllaó David Monllaó
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Mar/16