Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Performance
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      git diff lib/accesslib.php
      diff --git a/lib/accesslib.php b/lib/accesslib.php
      index c082e3f..bb9bc84 100644
      — a/lib/accesslib.php
      +++ b/lib/accesslib.php
      @@ -1272,8 +1272,6 @@ function get_user_access_bycontext($userid, $context, $acc=NULL) {
      // but the cost of re-fetching is minimal so we don't care.
      // ... for now!
      //

      • $targetpath;
      • $targetlevel;
        if ($context->contextlevel === CONTEXT_COURSE) {
        $targetpath = $context->path;
        $targetlevel = $context->contextlevel;

        Attachments

          Activity

            People

            Assignee:
            martinlanghoff Martín Langhoff
            Reporter:
            dougiamas Martin Dougiamas
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08