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

Rewrite and move functions from course/recent.php and add unit tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.3, 2.5
    • Fix Version/s: 2.5
    • Component/s: Reports
    • Labels:
      None

      Description

      Course/recent.php should not contain functions. All functions should be moved to course/lib.php and proper unit tests should be added for the same
      Also array_key_exists shouldn't be used for properties and objects.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13