MDL-78872 grade: fix external class execute method visibility.

This commit is contained in:
Paul Holden 2023-08-02 02:12:56 +01:00
parent 13553c25da
commit 58836d7143
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164

View File

@ -63,12 +63,8 @@ class get_groups_for_search_widget extends external_api {
* @param int $courseid
* @param string $actionbaseurl The base URL for the group action.
* @return array Groups and warnings to pass back to the calling widget.
* @throws coding_exception
* @throws invalid_parameter_exception
* @throws moodle_exception
* @throws restricted_context_exception
*/
protected static function execute(int $courseid, string $actionbaseurl): array {
public static function execute(int $courseid, string $actionbaseurl): array {
global $DB, $USER, $COURSE;
$params = self::validate_parameters(