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

The docs for get_user_capability_course() are wrong

    XMLWordPrintable

Details

    Description

      The @return in the php docs suggests it will be "Array of courses, may have zero entries. Or false if query failed.", however if you actually look at the return statement in the function it is "return empty($courses) ? false : $courses;".

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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