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

deprecated context_instance_preload() still used in forum and enrollib.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.4.6, 2.5.2
    • Forum

    Description

      1. As a user create some forum posts
      2. Go to: Home / My profile / Forum posts / Posts

      Boom:

      context_instance_preload() is deprecated, please use context_helper::preload_from_record() instead.
      line 4135 of /lib/deprecatedlib.php: call to debugging()
      line ? of unknownfile: call to context_instance_preload()
      line 8137 of /mod/forum/lib.php: call to array_map()
      line 117 of /mod/forum/user.php: call to forum_get_courses_user_posted_in()
      

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              poltawski Dan Poltawski
              Sam Hemelryk Sam Hemelryk
              Damyon Wiese Damyon Wiese
              Adrian Greeve Adrian Greeve
              Adrian Greeve, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/13