Skip to content

Commit

Permalink
Merge branch 'MDL-67832_37' of https://github.com/timhunt/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_37_STABLE

(fixed a couple of typos in the merge commit)
  • Loading branch information
stronk7 committed Feb 5, 2020
2 parents 53c3b1b + 7fda2e9 commit 1a75be0
Show file tree
Hide file tree
Showing 5 changed files with 253 additions and 107 deletions.
3 changes: 2 additions & 1 deletion lib/questionlib.php
Expand Up @@ -1659,7 +1659,8 @@ protected function generate_context_to_string_array($contexts) {
/**
* Check capability on category
*
* @param int|stdClass $questionorid object or id. If an object is passed, it should include ->contextid and ->createdby.
* @param int|stdClass|question_definition $questionorid object or id.
* If an object is passed, it should include ->contextid and ->createdby.
* @param string $cap 'add', 'edit', 'view', 'use', 'move' or 'tag'.
* @param int $notused no longer used.
* @return bool this user has the capability $cap for this question $question?
Expand Down

0 comments on commit 1a75be0

Please sign in to comment.