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

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Blocks
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-40649_master
    • 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.
    • 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

              markn Mark Nelson
              markn Mark Nelson
              Ankit Agarwal Ankit Agarwal
              Damyon Wiese Damyon Wiese
              Jérôme Mouneyrac Jérôme Mouneyrac
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13