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

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              ankit_frenz Ankit Agarwal
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Aparup Banerjee
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

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