mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-79816-main' of https://github.com/rmady/moodle
This commit is contained in:
commit
a86e4ab133
@ -86,7 +86,7 @@ class recentlyaccesseditems_item_exporter extends \core\external\exporter {
|
||||
'type' => PARAM_INT,
|
||||
),
|
||||
'modname' => array(
|
||||
'type' => PARAM_TEXT,
|
||||
'type' => PARAM_PLUGIN,
|
||||
),
|
||||
'name' => array(
|
||||
'type' => PARAM_TEXT,
|
||||
@ -108,7 +108,7 @@ class recentlyaccesseditems_item_exporter extends \core\external\exporter {
|
||||
public static function define_other_properties() {
|
||||
return array(
|
||||
'viewurl' => array(
|
||||
'type' => PARAM_TEXT,
|
||||
'type' => PARAM_RAW,
|
||||
),
|
||||
'courseviewurl' => array(
|
||||
'type' => PARAM_URL,
|
||||
@ -117,7 +117,7 @@ class recentlyaccesseditems_item_exporter extends \core\external\exporter {
|
||||
'type' => PARAM_RAW,
|
||||
),
|
||||
'purpose' => array(
|
||||
'type' => PARAM_TEXT,
|
||||
'type' => PARAM_ALPHA,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user