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

Replace magic numbers with constants in /login/index.php

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.1.2
    • Authentication
    • None

      Trying to track down an issue recently I noticed that /login/index.php is using "magic numbers" for the $errorcode variable in some places, rather than the defined AUTH_LOGIN_* constants. This makes it more difficult to read and understand the code, and to track down issues, so it would be a good idea to replace them.

            maherne Michael Aherne
            maherne Michael Aherne
            Votes:
            0 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.