MDL-71031 external: Minor tweaks towards coding style and external rules

- Some small namespace/use/MOODLE_INTERNAL/requires reorganization.
- Move file phpdocs to class phpdocs.
- Move external method names to be new "execute" default ones.
- Move unit tests to matching core_grades\external namespace.
- Add missing clean_returnvalue() calls.
This commit is contained in:
Eloy Lafuente (stronk7)
2021-04-18 11:53:09 +02:00
parent 74a86a9880
commit 51a5d523a1
3 changed files with 44 additions and 40 deletions
-1
View File
@@ -942,7 +942,6 @@ $functions = array(
),
'core_grades_create_gradecategories' => array (
'classname' => 'core_grades\external\create_gradecategories',
'methodname' => 'create_gradecategories',
'description' => 'Create grade categories inside a course gradebook.',
'type' => 'write',
'capabilities' => 'moodle/grade:manage',