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

Tidy hack in blog/lib.php line 353 [CONTEXT_USER+1] vers 8.1 20141113

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.8.1
    • Blog
    • MOODLE_28_STABLE

      moodle/blog/lib.php line 353 [CONTEXT_USER+1]
      moodle 8.1 build 20141113

      ==============
      function blog_get_all_options(moodle_page $page, stdClass $userid = null)

      // ===== removed a bunch of code ====

      if ($user !== null and !isguestuser($user)) {
      // Load for the requested user.
      $options[CONTEXT_USER+1] = blog_get_options_for_user($user);
      )

      ================
      the +1 caught me off guard, i was doing a search in all files for "CONTEXT_" to see uses of it. and i only saw changes in "test doings" never a regular function. let alone a + anything.

      this maybe just a "noob" huh? and not an actual bug. but i honestly do not know. i am not familiar enough with moodle code let alone the blog code.

            Unassigned Unassigned
            boggen Ryan Sanders
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.