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

context_helper::preload_from_record does not return the new context

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.2.6, 2.3.3, 2.4
    • 2.2.7, 2.3.4, 2.4.1
    • Libraries

    Description

      We have

      class context_helper extends context

      { ... }

      However, context::preload_from_record does return the new context, but context_helper::preload_from_record does not. Is that just an oversight (missing return)? I think it is.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Petr Skoda Petr Skoda
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13