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

Use constants not integers in grade/report/user/lib.php

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: Gradebook
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      In grade/report/user/lib.php we currently use the integers to represent the various behaviours around hidden items. Instead we should define constants to make the code more readable.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                andyjdavis Andrew Davis
                Reporter:
                andyjdavis Andrew Davis
                Tester:
                Nobody
                Participants:
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Mar/10