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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.8
    • 1.9.7
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

      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.

        1. lib.patch
          2 kB
          Andrew Davis

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Nobody Nobody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.