Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34434 META: Collect together deprecated code changes for Moodle 2.6
  3. MDL-40649

The recent activity block throws a debugging message due to deprecated method usage.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      Hide
      1. Grep for "get_recent_enrolments" and ensure it is only located in lib/deprecatedlib.php (note: the recent activity block defines it's own internal function with the same name, ignore this).
      2. Run all the behat tests and ensure no errors/warnings occur because of a debugging message being thrown by this block.
      Show
      Grep for "get_recent_enrolments" and ensure it is only located in lib/deprecatedlib.php (note: the recent activity block defines it's own internal function with the same name, ignore this). Run all the behat tests and ensure no errors/warnings occur because of a debugging message being thrown by this block.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-40649_master
    • Sprint:
      BACKEND Sprint 2

      Description

      The recent activity block uses the deprecated function get_recent_enrolments that calls get_related_contexts_string which was deprecated by MDL-40468 in 2.6 and now throws a debugging message.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Damyon Wiese
              Tester:
              Jérôme Mouneyrac
              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:
                18/Nov/13