mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle
This commit is contained in:
commit
3278ce7aba
1147 changed files with 2621 additions and 2617 deletions
|
@ -62,7 +62,7 @@ class provider implements
|
|||
* @param collection $collection The initialised collection to add items to.
|
||||
* @return collection A listing of user data stored through this system.
|
||||
*/
|
||||
public static function get_metadata(collection $collection) : collection {
|
||||
public static function get_metadata(collection $collection): collection {
|
||||
// The table 'tag' contains data that a user has entered.
|
||||
// It is currently linked with a userid, but this field will hopefulyl go away.
|
||||
// Note: The userid is not necessarily 100% accurate. See MDL-61555.
|
||||
|
@ -208,7 +208,7 @@ class provider implements
|
|||
* @param int $userid The user to search.
|
||||
* @return contextlist $contextlist The contextlist containing the list of contexts used in this plugin.
|
||||
*/
|
||||
public static function get_contexts_for_userid(int $userid) : contextlist {
|
||||
public static function get_contexts_for_userid(int $userid): contextlist {
|
||||
$contextlist = new contextlist();
|
||||
$contextlist->add_from_sql("SELECT c.id
|
||||
FROM {context} c
|
||||
|
|
|
@ -42,7 +42,7 @@ class tag_edit_form extends moodleform {
|
|||
* Overrides the abstract moodleform::definition method for defining what the form that is to be
|
||||
* presented to the user.
|
||||
*/
|
||||
function definition () {
|
||||
function definition() {
|
||||
|
||||
$mform =& $this->_form;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue